PersistentAI API Documentation / @persistentai/fireflow-types / findBoundaryInputEdges
Function: findBoundaryInputEdges()
findBoundaryInputEdges(
flow,branchNodeIds):IEdge[]
Defined in: packages/fireflow-types/src/flow/execution/runtime/stream-bridge.ts:202
Find edges that cross INTO a set of node IDs from outside (boundary inputs). These edges need their source port values transferred to the branch workflow via DBOS.setEvent/getEvent per edge.
Parameters
flow
The flow containing all edges
branchNodeIds
Set<string>
Node IDs belonging to the branch
Returns
IEdge[]
Edges sorted by ID for deterministic ordering