Timer_Cancel()

Timer_Create()

Important Notes:

Timer_Pause()

Timer_Resume()

Example:


-- Create a timer to print "Hello" every half second
myTimer = _Timer_Create(500, function() 
    _Print_Console("Hello") 
end, -1) -- -1 for infinite repetition

-- Later, after some other code...
_Timer_Pause(myTimer)  -- Pause the timer

-- Even later...
_Timer_Resume(myTimer) -- Resume the timer

--Finally stop the timer completely
_Timer_Cancel(myTimer)