Class Workbench

A workbench for coordinated workloads.

Performs a work by running tasks specific to each kind of workload.

Hierarchy

  • Workbench

Implements

  • SupplyPeer

Constructors

Accessors

Methods

Constructors

Accessors

  • get supply(): Supply
  • Workbench supply.

    Once cut off the workbench terminates all current works, and no longer accepts new ones.

    Returns Supply

Methods

  • Obtains a work of the given workload.

    Caches the work previously obtained work of the same workload, until the work is * disposed. Creates a new work instance after that.

    Type Parameters

    • TWork

      A work type.

    Parameters

    • workload: Workload<TWork>

      Target workload.

    Returns TWork

    A work instance.

Generated using TypeDoc