W3cubDocs

/Nushell

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

>sleep1sec

Sleep for 3sec

>sleep1sec1sec1sec

Send output after 1sec

>sleep1sec;echodone

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/sleep.html