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 1sec
Use multiple arguments to write a duration with multiple units, which is unsupported by duration literals
> sleep 1min 30sec
Send output after 1sec
> sleep 1sec; echo done