Function.parallel >= 0.1.2
Purpose
Run (async) functions in parallel
Syntax
Function.parallel
(
Booleanforce_async= true
Numberlimit
Arraytasks
Functioncallback
);
Parameters
force_async
- If set to false, the first task will be executed synchronously
limit
- The amount of tasks that can run at the same time
tasks
- Array of functions, or multiple functions
callback
Comments