async-collection
v1.0.1
Published
Collection of async functions
Downloads
86
Readme
async-collection
Collection of async functions
Usage
// require the whole module
var async = require('async-collection')
// require an invidiual method
var parallel = require('async-collection/parallel')
API
async.waterfall(arr, cb)
Run an array of functions in series, each passing its results to the next function. Uses run-waterfall.
async.series(arr, cb)
Run an array of functions in series. Uses run-series.
async.parallel(arr, cb)
Run an array of functions in parallel. Uses run-parallel.
async.parallelLimit(arr, cb)
Run an array of functions in parallel, but limit the number of tasks executing at the same time. Uses parallel-limit.
async.mapLimit(arr, limit, iterator, cb)
Map over an array of data and call them, but limit the number of tasks executing at the same time. Uses map-limit.