Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxWorkers = runtime.GOMAXPROCS(0)
MaxWorkers defines the maximum Node-level concurrency in the StageRunner.
Functions ¶
This section is empty.
Types ¶
type StageCoordinator ¶
type StageRunner ¶
type StageRunner struct { NodeFactory NodeFactory Overrides []map[string]any Coord *StageCoordinator Graphs []*graphs.Graph Results []map[nuggit.NodeKey]json.RawMessage // contains filtered or unexported fields }
StageRunner executes all the graphs in the current stage concurrently. Multiple graphs in a given stage are executed in parallel while Node-level paralelism is limited by MaxWorkers.
The StageCoordinator is used when the runner must exchange data outside the stage.
The zero StageRunner is ready to use.
TODO(wes): Implement the coordinator.
type VarBinder ¶
type VarBinder interface {
Bind(data json.RawMessage, val any) (json.RawMessage, error)
}
Click to show internal directories.
Click to hide internal directories.