Module: util/sleep

Asynchronous sleep.
Source:

Methods

(async, static) sleep(timeopt) → {undefined}

Asynchronous sleep.
Parameters:
Name Type Attributes Default Description
time number <optional>
0 Time in milliseconds.
Source:
Throws:
If time is not an integer.
Type
Error
Returns:
After specified time.
Type
undefined