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

Function _concat

examples/browser/nodeunit.js:1003–1013  ·  view source on GitHub ↗
(eachfn, arr, fn, callback)

Source from the content-addressed store, hash-verified

1001 };
1002
1003 var _concat = function (eachfn, arr, fn, callback) {
1004 var r = [];
1005 eachfn(arr, function (x, cb) {
1006 fn(x, function (err, y) {
1007 r = r.concat(y || []);
1008 cb(err);
1009 });
1010 }, function (err) {
1011 callback(err, r);
1012 });
1013 };
1014 async.concat = doParallel(_concat);
1015 async.concatSeries = doSeries(_concat);
1016

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…