Class: ConcurrentGroup

ConcurrentGroup(runnables)

A Runnable composed of sub-Runnables (such as jobs or sequential groups) running concurrently. When run, all Runnables are started simultaneously (subject to scheduling constraints). The concurrent group completes when all Runnables have completed.

Constructor

new ConcurrentGroup(runnables)

Parameters:
Name Type Description
runnables The work items to be run in parallel
Source:

Methods

run()

Runs the concurrent group.
Source:
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.