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

  1. nil
  2. string error
generated by LDoc 1.4.6 Last updated 1980-01-01 00:00:00