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
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Starts the loop. | |
count |
number | Number of repetitions (overrides the property if connected). |
Outputs
| Name | Type | Description |
|---|---|---|
body |
exec | Executed on each iteration. |
done |
exec | Executed after all iterations complete. |
index |
number | Current iteration index (0-based). |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
count |
number | 1 |
Default repeat count when the input port is not connected. |