batch-then
1.1.0 • Public • Published batch-then
Run multiple functions in parallel with concurrency.
Only supports functions that return promises.
var Batch = require('batch-then');
var batch = new Batch();
batch.concurrency(2);
batch.push(function () {
return Promise.resolve(1);
});
batch.push(function () {
return Promise.resolve(2);
});
batch.push(function () {
return Promise.resolve(3);
});
batch.then( => );
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.1.0 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.1.0 | 0 | |
1.0.0 | 0 | |
Package Sidebar
Install
Weekly Downloads