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

Method match

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

Whether the given date matches this task's expression.

(date: Date)

Source from the content-addressed store, hash-verified

147 getNextRuns(count: number): Date[];
148 /** Whether the given date matches this task's expression. */
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. */

Callers 15

solvePathFunction · 0.65
create-id.test.tsFile · 0.65
logger.test.tsFile · 0.65
matchMethod · 0.65
daemon.test.tsFile · 0.65
matchMethod · 0.65
parseOffsetMinutesFunction · 0.65
getTimezoneGMTFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected