nushell/docs/commands/sleep.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

385 B

title layout version
sleep command 0.59.0

Delay for a specified amount of time.

Signature

> sleep (duration) ...rest

Parameters

  • duration: time to sleep
  • ...rest: additional time

Examples

Sleep for 1sec

> sleep 1sec

Sleep for 3sec

> sleep 1sec 1sec 1sec

Send output after 1sec

> sleep 1sec; echo done