nushell/docs/commands/sleep.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

386 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