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

Function _concat

deps/async.js:510–520  ·  view source on GitHub ↗
(eachfn, arr, fn, callback)

Source from the content-addressed store, hash-verified

508 };
509
510 var _concat = function (eachfn, arr, fn, callback) {
511 var r = [];
512 eachfn(arr, function (x, cb) {
513 fn(x, function (err, y) {
514 r = r.concat(y || []);
515 cb(err);
516 });
517 }, function (err) {
518 callback(err, r);
519 });
520 };
521 async.concat = doParallel(_concat);
522 async.concatSeries = doSeries(_concat);
523

Callers

nothing calls this directly

Calls 1

fnFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…