SDK Reference
sleep
The sleep
module provides functions for pausing execution.
Allowed in
- build
- deploy
- destroy
- task
Usage
Load the module:
Example
API Reference
sleep(duration)
Pauses execution for the given duration.
Arguments
duration
: Duration string in the format “Xs” or “Xm” where X is a number- Examples: ”30s” for 30 seconds, “1m” for 1 minute, “2m” for 2 minutes
Returns
- None