SongGuess
    Preparing search index...

    Class WorkflowInstanceAbstract

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: string

    Methods

    • Pause the instance.

      Returns Promise<void>

    • Restart the instance. Optionally restart from a specific step, preserving cached results for all steps before it.

      Parameters

      Returns Promise<void>

    • Resume the instance. If it is already running, an error will be thrown.

      Returns Promise<void>

    • Send an event to this instance.

      Parameters

      • __namedParameters: { payload: unknown; type: string }

      Returns Promise<void>

    • Returns the current status of the instance.

      Returns Promise<InstanceStatus>

    • Terminate the instance. If it is errored, terminated or complete, an error will be thrown.

      Returns Promise<void>