Skip to content

Delayed Call

lnx00 edited this page Jul 23, 2023 · 2 revisions

DelayedCall

Delayed Calls allow you to run a given function in the future (after a given amount of time).

Examples

Print "Hello, future!" after 2 seconds:

DelayedCall(2, function ()
    print("Hello, future!")
end)
Clone this wiki locally