Skip to main content
Version: 0.0.0

Description

Allows to write a loop over a chunk of operators.

Inputs

This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.

iterable (Pin 0)

  • Required: Yes
  • Expected type(s):
Either the result of the make_iterable_info operator, or the operator that must be incremented.

iterable_values (Pin 1)

  • Required: No
  • Expected type(s):

pin_index (Pin 2)

  • Required: No
  • Expected type(s): int32

forward (Pin 3)

  • Required: Yes
  • Expected type(s):

Outputs

This table lists the output pins for this operator. Output pins provide the results of the operator’s computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.

empty (Pin 0)

  • Expected type(s):

output (Pin 3)

  • Expected type(s):

Configurations

This operator supports configuration options that modify its behavior.

evaluate_inputs_before_run

  • Expected type(s): bool
  • Default value: false
If 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.

mutex

  • Expected type(s): bool
  • Default value: false
If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

This operator can be accessed through scripting interfaces using these identifiers. Category: utility Plugin: core Scripting name: for_each Full name: utility.for_each Internal name: for_each License: None

Examples

These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.

Changelog

  • Version 0.0.0: Initial release.