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

Function setTimer

lib/env.js:19–19  ·  view source on GitHub ↗
(f, ms)

Source from the content-addressed store, hash-verified

17
18 // Default env
19 var setTimer = function(f, ms) { return setTimeout(f, ms); };
20 var clearTimer = function(t) { return clearTimeout(t); };
21 var asap = function (f) { return capturedSetTimeout(f, 0); };
22

Callers 3

wrappedFunction · 0.50
enqueueFunction · 0.50
PromiseMonitor.jsFile · 0.50

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…