sleep([delay])
Suspend the current execution flow until the delay elapse, allowing tasks to run during this time.
Parameters
delay
The delay for which current execution flow will be suspended, in milliseconds. Delay is optional, with a default 1 millisecond program suspension.
Return value
This function returns no value.Example
-- Suspend the program for 5 seconds
sleep(5000)