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

Function processQueue

lib/auto.js:163–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 }
162
163 function processQueue() {
164 if (readyTasks.length === 0 && runningTasks === 0) {
165 return callback(null, results);
166 }
167 while(readyTasks.length && runningTasks < concurrency) {
168 var run = readyTasks.shift();
169 run();
170 }
171
172 }
173
174 function addListener(taskName, fn) {
175 var taskListeners = listeners[taskName];

Callers 2

auto.jsFile · 0.85
taskCompleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…