PersistentAI API Documentation / @persistentai/fireflow-types / classifyStreamBridgeEdges
Function: classifyStreamBridgeEdges()
classifyStreamBridgeEdges(
boundaryEdges,childNodeIds):StreamBridgeEdges
Defined in: packages/fireflow-types/src/flow/execution/runtime/stream-bridge.ts:261
Classify boundary edges into outbound (parent→child) and inbound (child→parent) streaming edges. Only edges with stream port types are included.
Parameters
boundaryEdges
IEdge[]
All edges that cross the workflow boundary
childNodeIds
Set<string>
The set of node IDs inside the child workflow
Returns
Classified streaming edges