MCPcopy Create free account
hub / github.com/The-Pocket/PocketFlow-Go / Flow

Struct Flow

pocketflow.go:551–554  ·  view source on GitHub ↗

--- Flow --- Flow orchestrates the execution of connected nodes.

Source from the content-addressed store, hash-verified

549
550// Flow orchestrates the execution of connected nodes.
551type 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.
557func NewFlow(startNode BaseNode) *Flow {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected