Module lsh.time
Time and clock functions.
Functions
sleep (sec) | Suspend execution of the calling thread for the given number of seconds. |
Functions
- sleep (sec)
-
Suspend execution of the calling thread for the given
number of seconds.
Parameters:
- sec number seconds to sleep
Returns:
-
bool
true
Or
- nil
- string error