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

Function blockIO

src/scheduler/runner.test.ts:291–294  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

289});
290
291function blockIO(ms: number) {
292 const start = Date.now();
293 while (Date.now() - start < ms);
294}
295
296function createRunner(timeMatcher: TimeMatcher, delay: number, options?: RunnerOptions){
297 return new Runner(timeMatcher, async ()=> {

Callers 1

runner.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected