Documentation
¶
Index ¶
- type NodeIf
- func (n NodeIf) GetID() idwrap.IDWrap
- func (n NodeIf) GetName() string
- func (n *NodeIf) GetOutputVariables() []string
- func (n *NodeIf) GetRequiredVariables() []string
- func (n NodeIf) RunAsync(ctx context.Context, req *node.FlowNodeRequest, ...)
- func (n NodeIf) RunSync(ctx context.Context, req *node.FlowNodeRequest) node.FlowNodeResult
- func (n *NodeIf) SetID(id idwrap.IDWrap)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeIf ¶
type NodeIf struct {
FlowNodeID idwrap.IDWrap
Name string
Condition mcondition.Condition
}
func (*NodeIf) GetOutputVariables ¶
GetOutputVariables implements node.VariableIntrospector. Returns the output paths this If node produces.
func (*NodeIf) GetRequiredVariables ¶
GetRequiredVariables implements node.VariableIntrospector. It extracts variable references from the condition expression.
func (NodeIf) RunAsync ¶
func (n NodeIf) RunAsync(ctx context.Context, req *node.FlowNodeRequest, resultChan chan node.FlowNodeResult)
func (NodeIf) RunSync ¶
func (n NodeIf) RunSync(ctx context.Context, req *node.FlowNodeRequest) node.FlowNodeResult
Click to show internal directories.
Click to hide internal directories.