SongGuess
    Preparing search index...

    Class Workflow<PARAMS>Abstract

    Type Parameters

    • PARAMS = unknown
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Create a batch of instances and return handle for all of them. If a provided id exists, an error will be thrown. createBatch is limited at 100 instances at a time or when the RPC limit for the batch (1MiB) is reached.

      Parameters

      Returns Promise<WorkflowInstance[]>

      A promise that resolves with a list of handles for the created instances.

    • Get a handle to an existing instance of the Workflow.

      Parameters

      • id: string

        Id for the instance of this Workflow

      Returns Promise<WorkflowInstance>

      A promise that resolves with a handle for the Instance