Repeater Node
π Repeater Node
The Repeater node repeats the execution of the nodes connected to its output.
π§ What it does
When triggered, it runs all nodes connected to its output in sequence, and repeats the process.
If a repeat count is set (e.g., 3
), it will run the connected flow 3 times total.
If set to -1
, it will repeat indefinitely.
π Behavior Detail
- The repeater waits until the current sequence of connected nodes completes.
- Only after all connected nodes finish execution does it trigger again.
- This prevents infinite overlapping or premature re-execution.
π Use Case
Used for polling input, repeating animation triggers, AI decision refreshes, or looping systems.
β οΈ Notes
- Can be safely paused with
Pause
and continued withResume
. - Compatible with key handlers or other condition-checking nodes.
π Related Nodes
Pause
Resume
Key Handler
Use when you want to loop a behavior without risking call stack overflows or unexpected recursions.