MCPcopy Index your code
hub / github.com/node-cron/node-cron / wait

Function wait

src/coordinator/run-coordinator.test.ts:6–6  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

4import cron from '../node-cron';
5
6const wait = (ms: number) => new Promise(r => setTimeout(r, ms));
7const silent = { info() {}, warn() {}, error() {}, debug() {} } as any;
8
9function makeCoordinator(behavior: { shouldRunReturns?: boolean; shouldRunThrows?: boolean; onCompleteThrows?: boolean } = {}) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected