βοΈtimer
utils.new_timer
Functions
start
local timer = utils.new_timer(100, function()
print("This will be printed every 100ms")
end)
timer:start()Usage:
stop
timer:stop()Usage:
run_once
local timer = utils.new_timer(100, function()
print("This will be printed once")
end)
timer:run_once()Usage:
is_active
Returns:
set_delay
Last updated