File hp/util/Executors.lua
Functions
M.callLater (func, ...) | Run the specified function delay. |
M.callLaterFrame (frame, func, ...) | Run the specified function delay. |
M.callLaterTime (time, func, ...) | Run the specified function delay. |
Tables
Executors | This is a utility class to execute. |
Functions
- M.callLater (func, ...)
-
Run the specified function delay.
Parameters
- func: Target function.
- ...: Argument.
- M.callLaterFrame (frame, func, ...)
-
Run the specified function delay.
Parameters
- frame: Delay frame count.
- func: Target function.
- ...: Argument.
- M.callLaterTime (time, func, ...)
-
Run the specified function delay.
Parameters
- time: Delay seconds.
- func: Target function.
- ...: Argument.