Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / ExecutionPlan

Type Alias: ExecutionPlan

ExecutionPlan = LeafPlan | FusedPlan | SeriesPlan | ParallelPlan

Defined in: packages/fireflow-types/src/flow/execution/types.ts:21

SP-Tree: recursive algebraic type describing execution strategy.

The execution plan is a tree where:

  • Leaf nodes represent individual node executions
  • Fused nodes represent pure cluster executions (multiple pure nodes as one unit)
  • Series nodes represent sequential execution
  • Parallel nodes represent concurrent execution of independent branches

Licensed under BUSL-1.1