Namespace: async

async

Smaller version of the async library constructs.

Methods

async.eachSeries (array, iterator, callback, deferNext) static

Iterates an array in series.

Name Type Default Description
array

Array to iterate.

iterator function

Function to call for each element.

callback function

Function to call when done, or on error.

deferNext boolean false optional

Break synchronous each loop by calling next with a setTimeout of 1.

async.queue (worker, concurrency)* static

Async queue implementation,

Name Type Description
worker function

The worker function to call for each task.

concurrency number

How many workers to run in parrallel.

Returns:
Type Description
* The async queue object.