Creates a Timer instance.
The Time instance, the timer attaches to
The time in milliseconds to elapse, to the next call of _handler, measured in _time
The desired number of calls to _handler, Timer deinstalls automatically after last call. Passing 0 invokes infinite calls
The TimerHandler instance to call
Rest
..._arguments: Object[]Additional arguments to pass to _handler
TODO: for proper handling and deletion, use Time.setTimer instead of instantiating timers yourself.
Returns the window-id of the timer, which was returned by setInterval
Returns the time-intervall for calls to the handler
A Timer-instance internally uses window.setInterval to call a given handler with a given frequency a given number of times, passing an EventTimer-instance with additional information and given arguments. The frequency scales with the Time-instance the Timer-instance is attached to.
Author
Jirka Dell'Oro-Friedl, HFU, 2019