exec
Provides essential program flow control and execution management tools. Contains actions for controlling application lifecycle, timing, and debugging. Includes tools for pausing execution, waiting for user input, running code blocks, managing program flow, and interfacing with the host environment for advanced control over application behavior.
Area: ⚙️ System & Control Flow
Available Actions
This set contains 10 actions:
- break - breaks / halts app execution for debugging
- continue - continues running the app block (usually) after a wait
- delay - delays or sleeps for a specified amount of time
- host-call - call a function at the host / parent level. The environment is usually the browser to server javascript run time global environment
- reload - reloads/refreshes browser window. Restarts app from scratch
- resume - resumes as flow (after wait/break/pause)
- return - return values
- run - runs a block one time
- wait - wait for interaction before continuing
- waitfor - waits for a value from an input into a variable
Getting Started
To use actions from this set in your Rhyme app, you’ll reference them by their full name. For example:
break "Example usage"
Each action has its own specific syntax and parameters - click on any action above to see its detailed documentation.
Common Use Cases
- Controlling app flow
- Managing settings
- Handling errors