Last updated March 2020
msys.sleep — When called in the scheduler thread, suspend the current session for the specified duration
When called in the scheduler thread, this function suspends the current session for the specified duration. When called in a secondary thread, or if called on the scheduler thread and suspension is not possible, this function blocks the calling thread for the specified duration in seconds.
Because this function is in the
msys namespace, an explicit
require is not necessary.
Was this page helpful?