spawn-ts API reference - v0.6.0
    Preparing search index...

    Class FanOut

    Index
    • get hasPending(): boolean

      True while some member has yet to start (pending or blocked).

      Returns boolean

    • get isComplete(): boolean

      True once every member has reached a terminal state (completed/failed/skipped).

      Returns boolean

    • Advance the fan-out one step at time nowMs: reconcile launched members against the client's current instance list, recompute dependency gating, then launch as many eligible members as the concurrency cap and the launch/ retry delays permit. Reentrancy-guarded (launching refreshes the client, which re-fires the event that drives this). Returns true when nothing is left to start.

      Parameters

      • nowMs: number

      Returns Promise<boolean>