MCPcopy
hub / github.com/node-cron/node-cron / msToNext

Method msToNext

src/tasks/scheduled-task.ts:151–151  ·  view source on GitHub ↗

Milliseconds until the next run, or `null` when the task is stopped.

()

Source from the content-addressed store, hash-verified

149 match(date: Date): boolean;
150 /** Milliseconds until the next run, or `null` when the task is stopped. */
151 msToNext(): number | null;
152 /** Whether an execution is currently in progress. */
153 isBusy(): boolean;
154 /** Remaining executions when `maxExecutions` is set, otherwise `undefined`. */

Implementers 2

InlineScheduledTasksrc/tasks/inline-scheduled-task.ts
BackgroundScheduledTasksrc/tasks/background-scheduled-task/ba

Calls

no outgoing calls

Tested by

no test coverage detected