(execution *WorkflowExecution, node *NodeDef)
| 621 | } |
| 622 | |
| 623 | func (c *CoordinatorActor) prepareInputMessage(execution *WorkflowExecution, node *NodeDef) (string, error) { |
| 624 | // 简化实现 |
| 625 | if len(execution.Context.Inputs) > 0 { |
| 626 | if input, ok := execution.Context.Inputs["message"].(string); ok { |
| 627 | return input, nil |
| 628 | } |
| 629 | } |
| 630 | return "", nil |
| 631 | } |
| 632 | |
| 633 | // ============== 协调器消息类型 ============== |
| 634 |
no outgoing calls
no test coverage detected