sleep for platform
Delay for a specified amount of time.
Signature
> sleep {flags} (duration) ...rest
Parameters
duration: Time to sleep....rest: Additional time.
Input/output types:
| input | output |
|---|---|
| nothing | nothing |
Examples
Sleep for 1sec
> sleep 1secUse multiple arguments to write a duration with multiple units, which is unsupported by duration literals
> sleep 1min 30secSend output after 1sec
> sleep 1sec; echo done