*** id: 96ce556d-4abd-4a63-a49c-1c36e0447257 title: sleep slug: /reference/sleep description: >- Set the amount of time for the current application to sleep for in milliseconds before continuing to the next action. max-toc-depth: 3 ---------------- Set the amount of time for the current application to sleep for in milliseconds before continuing to the next action. An object that accepts the following properties, or an integer value directly. ## **Properties** The amount of time to sleep in milliseconds. Must be a positive number. Can also be set to a `-1` integer for the sleep to never end. **Possible Values:** `-1` or any positive number ## **Examples** ### Timed Sleep Example ```yaml version: 1.0.0 sections: main: - sleep: 5000 ``` ```json { "version": "1.0.0", "sections": { "main": [ { "sleep": 5000 } ] } } ``` ### Forever Sleep Example ```yaml version: 1.0.0 sections: main: - sleep: -1 ``` ```json { "version": "1.0.0", "sections": { "main": [ { "sleep": -1 } ] } } ```