Constructor
new ConcurrentGroup(runnables)
Parameters:
Name | Type | Description |
---|---|---|
runnables |
The work items to be run in parallel |
Methods
run()
Runs the concurrent group.
Returns:
A Promise which completes when all items in the group complete.
If all items ran successfully, the Promise resolves; if any
item failed (that is, its Runnable#run Promise rejected), the Promise
rejects.