Skip to main content

utility:for each

Version: 0.0.0

Description

Allows to write a loop over a chunk of operators.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
iterableEither the result of the make_iterable_info operator, or the operator that must be incremented.
Pin 1iterable_values
Pin 2pin_indexint32
Pin 3
Required
forward

Outputs

OutputNameExpected type(s)Description
Pin 0empty
Pin 3output

Configurations

NameExpected type(s)Default valueDescription
evaluate_inputs_before_runboolfalseIf this option is set to true, all input pins of the operator will be evaluated before entering the run method to maintain a correct Operator status.
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: utility

Plugin: core

Scripting name: for_each

Full name: utility.for_each

Internal name: for_each

License: None

Changelog

  • Version 0.0.0: Initial release.