Timers
Times grant you the ability to execute code at set intervals, repeating or every specified time, as well as using NextFrame which can be useful in some cases.
One-shots
They allow you to execute callbacks once after a certain amount of time. There's no difference between In and Once.
Every specified time
Every timers execute callbacks every specified time, endlessly, as long as the plugin is loaded.
Repeating timers
They execute callbacks every specified amount of seconds, for a limited amount of times.
Cancelling timers
You have the ability to cancel and stop timers from continuing their execution.
Next frame
In some cases, you would like to execute code right after the current frame finished executing all of the various things your plugin might do.
Important to note, NextFrame and NextTick are the exact same thing. They're both inside of Carbon due to Oxide compatibility.
Last updated