Flow flow/repeat

Repeat

Executes the body branch a fixed number of times.

Note: The index output starts at 0 and ends at count - 1.

Inputs

NameTypeOptionalDescription
exec exec Starts the loop.
count number Number of repetitions (overrides the property if connected).

Outputs

NameTypeDescription
body exec Executed on each iteration.
done exec Executed after all iterations complete.
index number Current iteration index (0-based).

Properties

KeyTypeDefaultDescription
count number 1 Default repeat count when the input port is not connected.