MCPcopy Index your code
hub / github.com/cujojs/when / enqueue

Function enqueue

lib/decorators/unhandledRejection.js:62–67  ·  view source on GitHub ↗
(f, x)

Source from the content-addressed store, hash-verified

60 }
61
62 function enqueue(f, x) {
63 tasks.push(f, x);
64 if(running === null) {
65 running = setTimer(flush, 0);
66 }
67 }
68
69 function flush() {
70 running = null;

Callers 1

Calls 1

setTimerFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…