Returned by set_timeout() and set_interval().
Public fields
delayDelay (or interval) in seconds.
repeatingDoes the timer repeat?
dueClock time of the next run.
callbackFunction called when the timer fires.
activeIs the timer still scheduled?
runsHow many times the timer has fired.
Methods
Timer$new()
Create a timer (use set_timeout() instead).
Usage
Timer$new(delay, callback, repeating, now)