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

Method executeStartNode

pkg/workflow/engine.go:606–610  ·  view source on GitHub ↗

executeStartNode 执行开始节点

(execution *WorkflowExecution, node *NodeDef, result *NodeResult)

Source from the content-addressed store, hash-verified

604
605// executeStartNode 执行开始节点
606func (e *Engine) executeStartNode(execution *WorkflowExecution, node *NodeDef, result *NodeResult) error {
607 // 开始节点主要是初始化
608 result.Outputs["started_at"] = time.Now()
609 return nil
610}
611
612// executeEndNode 执行结束节点
613func (e *Engine) executeEndNode(execution *WorkflowExecution, node *NodeDef, result *NodeResult) error {

Callers 1

executeNodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected