Spec-Zone.ru › Nushell

sleep for platform

Delay for a specified amount of time.

Signature

> sleep {flags} (duration) ...rest

Parameters

  • duration: Time to sleep.
  • ...rest: Additional time duration to sleep.

Input/output types:

input output
nothing nothing

Examples

Sleep for 1 second.

> sleep 1sec

Use multiple arguments to write a duration with multiple units, which is unsupported by duration literals.

> sleep 1min 30sec

Send output after 1 second.

> sleep 1sec; echo done

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API