MCPcopy
hub / github.com/cujojs/when / handleDelay

Function handleDelay

lib/decorators/timed.js:30–32  ·  view source on GitHub ↗
(ms, x, h)

Source from the content-addressed store, hash-verified

28 };
29
30 function handleDelay(ms, x, h) {
31 setTimeout(resolveDelay, ms, x, h);
32 }
33
34 function resolveDelay(x, h) {
35 h.resolve(x);

Callers

nothing calls this directly

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…