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

Function blockIO

src/tasks/inline-scheduled-task.test.ts:280–283  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

278}
279
280function blockIO(ms: number) {
281 const start = Date.now();
282 while (Date.now() - start < ms);
283}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected