MCPcopy Index your code
hub / github.com/caolan/nodeunit / iterate

Function iterate

deps/async.js:122–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121 var completed = 0;
122 var iterate = function () {
123 iterator(arr[completed], function (err) {
124 if (err) {
125 callback(err);
126 callback = function () {};
127 }
128 else {
129 completed += 1;
130 if (completed === arr.length) {
131 callback();
132 }
133 else {
134 iterate();
135 }
136 }
137 });
138 };
139 iterate();
140 };
141

Callers 1

async.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…