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

Function setTimeout

lib/decorators/timed.js:11–15  ·  view source on GitHub ↗
(f, ms, x, y)

Source from the content-addressed store, hash-verified

9 var TimeoutError = require('../TimeoutError');
10
11 function setTimeout(f, ms, x, y) {
12 return env.setTimer(function() {
13 f(x, y, ms);
14 }, ms);
15 }
16
17 return function timed(Promise) {
18 /**

Callers 15

setTimerFunction · 0.85
handleDelayFunction · 0.85
timed.jsFile · 0.85
viaSetTimeoutFunction · 0.85
flow-test.jsFile · 0.85
settle-test.jsFile · 0.85
cycle-test.jsFile · 0.85
asyncFunction · 0.85
defer-test.jsFile · 0.85
delayRejectFunction · 0.85
asyncFunction · 0.85

Calls 1

fFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…