Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

param runnables

The work items to be run in parallel

Hierarchy

  • Group
    • ConcurrentGroup

Implements

Index

Constructors

Properties

Methods

Constructors

Properties

runnables: Runnable[]

Methods

  • length(): number
  • Returns number

  • run(): Promise<void>
  • Runs the concurrent group.

    Returns Promise<void>

    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.

Generated using TypeDoc