Smaller version of the async library constructs.
Methods
-
Iterates an array in series.
Name Type Default Description arrayArray to iterate.
iteratorfunction Function to call for each element.
callbackfunction Function to call when done, or on error.
deferNextboolean false optional Break synchronous each loop by calling next with a setTimeout of 1.
-
Async queue implementation,
Name Type Description workerfunction The worker function to call for each task.
concurrencynumber How many workers to run in parrallel.
Returns:
Type Description * The async queue object.