Options
All
  • Public
  • Public/Protected
  • All
Menu

A Runnable composed of sub-Runnables (such as jobs or concurrent groups) running one after another. A new Runnable is started only when the previous one completes. The sequence completes when the last Runnable has completed (or when any Runnable fails).

param runnables

The work items to be run in sequence

Hierarchy

  • Group
    • SerialGroup

Implements

Index

Constructors

Properties

Methods

Constructors

Properties

runnables: Runnable[]

Methods

  • length(): number
  • Returns number

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

    Returns Promise<void>

    A Promise which completes when the last item in the group completes (or any item fails). 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