providerplaneai
    Preparing search index...

    Builder used to construct workflow DAG definitions.

    Type Parameters

    • TOutput = unknown

      Final aggregate output type

    Index

    Constructors

    Methods

    • Adds a node with dependencies in a more readable way than manual dependsOn.

      Parameters

      • dependencies: string | string[]

        One dependency id or list of dependency ids.

      • id: string

        Unique node identifier.

      • fn: WorkflowNodeFn

        Node execution factory.

      • Optionaloptions: Omit<WorkflowNodeOptions, "dependsOn">

        Additional node options, excluding dependsOn.

      Returns this

      Builder instance for chaining.

      When the node id is duplicated.

    • Sets a workflow version identifier used by resume drift checks.

      Parameters

      • value: string | number

        Version value.

      Returns this

      Builder instance for chaining.