loop iterations
This block is part of the foreach group and was last modified in core v10.4.28.
loop iterations v10.4.28 In pins 2 + flow
- flow
flow - Iterations required
number - Concurrency
numberHow many iterate functions should be ran at the same time • Min: 0 • Max: 1000
Out pins 1 + flow
- done
flow - Iterator
execute_function
Runs the iterator function exactly iterations times, passing the 0-based index on the index pin (value and array receive the index number too), and waits for all iterations before done. A nil, non-numeric, zero, or negative iterations input runs zero iterations. Concurrency defaults to 5 (max 1000, serial at 1); exposed_data_output collects truthy exposed returns in iteration order.
for loop |
batch |
A typical wiring for loop iterations: a function trigger starts the flow; the function out pin wires to an execute block.
Version history
Introduced in v10.4.28.
Back to
foreach Return to the main group to view all sub-groups Back to flow: loops Return to the group to view all blocks within this group 