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

Function async

test/callbacks-test.js:14–18  ·  view source on GitHub ↗
(f, x, thisArg)

Source from the content-addressed store, hash-verified

12}
13
14function async(f, x, thisArg) {
15 setTimeout(function() {
16 f.call(thisArg, x);
17 });
18}
19
20buster.testCase('when/callbacks', {
21 'apply': {

Callers 1

callbacks-test.jsFile · 0.70

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…