footprintjs - v11.2.0
    Preparing search index...

    Class SubflowExecutor<TOut, TScope>

    Type Parameters

    • TOut = any
    • TScope = any
    Index
    • Execute a subflow with isolated context.

      1. Creates a fresh ExecutionRuntime for the subflow
      2. Applies input mapping to seed the subflow's GlobalStore
      3. Delegates traversal to a factory-created FlowchartTraverser
      4. Applies output mapping to write results back to parent scope
      5. Stores execution data for debugging/visualization

      Parameters

      • node: StageNode<TOut, TScope>
      • parentContext: StageContext
      • breakFlag: BreakFlag
      • branchPath: string | undefined
      • subflowResultsMap: Map<string, SubflowResult>
      • OptionalparentTraversalContext: TraversalContext
      • Optionalreturned: ReturnedSubflowDefinition<TOut, TScope>

        The definition a stage returned for this mount; absent for a mount the chart was built with.

      Returns Promise<any>