Documentation ¶
Overview ¶
Delay for the specified amount of time.
Synopsis:
sleep DURATION
Description:
If no units are given, the duration is assumed to be measured in seconds, otherwise any format parsed by Go's `time.ParseDuration` is accepted.
Examples:
sleep 2.5 sleep 300ms sleep 2h45m
Bugs:
When sleep is first run, it must be compiled from source which creates a delay significantly longer than anticipated.
Click to show internal directories.
Click to hide internal directories.