PersistentAI API Documentation / @persistentai/fireflow-types / branchRequiresSequentialExecution
Function: branchRequiresSequentialExecution()
branchRequiresSequentialExecution(
plan):boolean
Defined in: packages/fireflow-types/src/flow/execution/planner/sp-tree-builder.ts:600
Check if a plan branch requires sequential execution (contains any non-pure nodes). Branches with atomic or DBOS nodes must run sequentially to ensure deterministic DBOS function_id assignment within the parent workflow.
Parameters
plan
Returns
boolean