--- Flow --- Flow orchestrates the execution of connected nodes.
| 549 | |
| 550 | // Flow orchestrates the execution of connected nodes. |
| 551 | type Flow struct { |
| 552 | nodeCore // Flow itself can have params, though less common for successors here |
| 553 | startNode BaseNode |
| 554 | } |
| 555 | |
| 556 | // NewFlow creates a new Flow, optionally with a starting node. |
| 557 | func NewFlow(startNode BaseNode) *Flow { |
nothing calls this directly
no outgoing calls
no test coverage detected