p-each

0.1.0 • Public • Published

p-each

concurrent each for node/component

Installation

npm

$ npm install p-each

component

$ component install camshaft/p-each

Usage

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) {
 
});

Readme

Keywords

Package Sidebar

Install

npm i p-each

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • camshaft