MCPcopy Index your code
hub / github.com/d3/d3-queue / start

Function start

src/queue.js:59–71  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

57}
58
59function start(q) {
60 while (q._start = q._waiting && q._active < q._size) {
61 var i = q._ended + q._active,
62 t = q._tasks[i],
63 j = t.length - 1,
64 c = t[j];
65 t[j] = end(q, i);
66 --q._waiting, ++q._active;
67 t = c.apply(null, t);
68 if (!q._tasks[i]) continue; // task finished synchronously
69 q._tasks[i] = t || noabort;
70 }
71}
72
73function end(q, i) {
74 return function(e, r) {

Callers 1

pokeFunction · 0.85

Calls 1

endFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…