Skip to content

waygraph / collectBranchFlows

Function: collectBranchFlows() ​

collectBranchFlows(flow): BranchEntry[]

Defined in: src/engine/flow/branch-regression.ts:49

Every branch Flow reachable from flow, at any depth, deduped by object identity (the same route Flow reused under two tags is only listed once). Doesn't include flow itself - only its .branch() continuations. Static - doesn't run anything.

Parameters ​

flow ​

Flow<Checkpoint<string>>

Returns ​

BranchEntry[]

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed