MCPcopy Create free account
hub / github.com/astercloud/aster / findNode

Method findNode

pkg/workflow/actor_engine.go:598–605  ·  view source on GitHub ↗
(def *WorkflowDefinition, nodeID string)

Source from the content-addressed store, hash-verified

596}
597
598func (c *CoordinatorActor) findNode(def *WorkflowDefinition, nodeID string) *NodeDef {
599 for _, node := range def.Nodes {
600 if node.ID == nodeID {
601 return &node
602 }
603 }
604 return nil
605}
606
607func (c *CoordinatorActor) findNextNodes(execution *WorkflowExecution, currentNodes []string) []string {
608 var nextNodes []string

Callers 1

executeNodesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected