nforeach

package
v0.0.0-...-5777b07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeForEach

type NodeForEach struct {
	FlowNodeID    idwrap.IDWrap
	Name          string
	IterPath      string
	Timeout       time.Duration
	Condition     mcondition.Condition
	ErrorHandling mflow.ErrorHandling
}

func New

func New(id idwrap.IDWrap, name string, iterPath string, timeout time.Duration,
	condition mcondition.Condition, errorHandling mflow.ErrorHandling,
) *NodeForEach

func (*NodeForEach) GetID

func (nr *NodeForEach) GetID() idwrap.IDWrap

func (*NodeForEach) GetName

func (n *NodeForEach) GetName() string

func (*NodeForEach) IsLoopCoordinator

func (nr *NodeForEach) IsLoopCoordinator() bool

func (*NodeForEach) RunAsync

func (nr *NodeForEach) RunAsync(ctx context.Context, req *node.FlowNodeRequest, resultChan chan node.FlowNodeResult)

func (*NodeForEach) RunSync

func (*NodeForEach) SetID

func (nr *NodeForEach) SetID(id idwrap.IDWrap)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL