Module extra

Extra functions that don't fit into any other category.

This module does not provide its own table; all functions here are found in the global table.

Functions

sleep (seconds) Waits the specified amount of seconds.


Functions

sleep (seconds)
Waits the specified amount of seconds.

Parameters:

  • seconds number The amount of seconds to wait.

Usage:

    local minutes = 5
    sleep(minutes * 60) -- 5 minutes
generated by LDoc 1.4.6 Last updated 2023-12-27 20:06:03