Documentation
¶
Index ¶
- type NodeSubFlowReturn
- func (n *NodeSubFlowReturn) GetID() idwrap.IDWrap
- func (n *NodeSubFlowReturn) GetName() string
- func (n *NodeSubFlowReturn) GetOutputVariables() []string
- func (n *NodeSubFlowReturn) GetRequiredVariables() []string
- func (n *NodeSubFlowReturn) RunAsync(ctx context.Context, req *node.FlowNodeRequest, ...)
- func (n *NodeSubFlowReturn) RunSync(ctx context.Context, req *node.FlowNodeRequest) node.FlowNodeResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeSubFlowReturn ¶
type NodeSubFlowReturn struct {
FlowNodeID idwrap.IDWrap
Name string
Outputs []mflow.SubFlowOutput
}
NodeSubFlowReturn is a terminal node in a sub-flow. It evaluates output expressions against the sub-flow's VarMap and writes results under the node name. The RunSubFlow caller reads these outputs after execution completes.
func New ¶
func New(id idwrap.IDWrap, name string, outputs []mflow.SubFlowOutput) *NodeSubFlowReturn
func (*NodeSubFlowReturn) GetID ¶
func (n *NodeSubFlowReturn) GetID() idwrap.IDWrap
func (*NodeSubFlowReturn) GetName ¶
func (n *NodeSubFlowReturn) GetName() string
func (*NodeSubFlowReturn) GetOutputVariables ¶
func (n *NodeSubFlowReturn) GetOutputVariables() []string
GetOutputVariables implements node.VariableIntrospector.
func (*NodeSubFlowReturn) GetRequiredVariables ¶
func (n *NodeSubFlowReturn) GetRequiredVariables() []string
GetRequiredVariables implements node.VariableIntrospector.
func (*NodeSubFlowReturn) RunAsync ¶
func (n *NodeSubFlowReturn) RunAsync(ctx context.Context, req *node.FlowNodeRequest, resultChan chan node.FlowNodeResult)
func (*NodeSubFlowReturn) RunSync ¶
func (n *NodeSubFlowReturn) RunSync(ctx context.Context, req *node.FlowNodeRequest) node.FlowNodeResult
Click to show internal directories.
Click to hide internal directories.