MCPcopy
hub / github.com/caolan/async / enqueueTask

Function enqueueTask

lib/auto.js:157–161  ·  view source on GitHub ↗
(key, task)

Source from the content-addressed store, hash-verified

155 processQueue();
156
157 function enqueueTask(key, task) {
158 readyTasks.push(function () {
159 runTask(key, task);
160 });
161 }
162
163 function processQueue() {
164 if (readyTasks.length === 0 && runningTasks === 0) {

Callers 1

auto.jsFile · 0.85

Calls 1

runTaskFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…