0.1.0 • Published 11 years ago
p-each v0.1.0
p-each
concurrent each for node/component
Installation
npm
$ npm install p-eachcomponent
$ component install camshaft/p-eachUsage
When calling p-each an instance of batch is returned.
var each = require('p-each');
var arr = [1, 2, 3, 4, 5];
each(arr, function(num, fn) {
fn(null, num * num);
}).end(function(err, squared) {
});0.1.0
11 years ago