MCPcopy Create free account
hub / github.com/node-schedule/node-schedule / Invocation

Function Invocation

lib/Invocation.js:15–22  ·  view source on GitHub ↗
(job, fireDate, recurrenceRule, endDate)

Source from the content-addressed store, hash-verified

13
14/* Invocation object */
15function Invocation(job, fireDate, recurrenceRule, endDate) {
16 this.job = job;
17 this.fireDate = fireDate;
18 this.endDate = endDate;
19 this.recurrenceRule = recurrenceRule || DoesntRecur;
20
21 this.timerID = null;
22}
23
24function sorter(a, b) {
25 return (a.fireDate.getTime() - b.fireDate.getTime());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…