SLEEP

SLEEP Delay

Stops the program during a specified delay by making it sleeping, i.e. giving its CPU time back to the operating system.

Delay is a number of seconds, and can be a floating point number.

The event loop is not called during a sleep, and so events are not processed.

See also