Skip to content

ExecuteAsync ​

The ExecuteAsync function asynchronously executes the supplied callback.

It works in a similar manner to ExecuteWithDelay, except that there is no delay beyond the cost of registering the callback.

Parameters ​

#TypeInformation
1functionThe callback to execute

Example ​

lua
ExecuteAsync(function()
    print("Executed asynchronously\n")
end)