NeXTSTEP Programming Mastermind

    async-collection

    1.0.1 • Public • Published

    async-collection stability

    npm version build status downloads js-standard-style

    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.

    License

    MIT

    Install

    npm i async-collection

    DownloadsWeekly Downloads

    39

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • yoshuawuyts