Timer
The methods provided by timer module allows execution of code fragment at specific time interval. Methods:
setTimeoutsetInterval
Timer Module Import
Setting Interval
Timer method setInterval can be used to apply recurring action on given interval in miliseconds
The Timer modules allows clearing the interval as well via clearInterval method.
Setting Timeout
Timer method setTimeout can be used to delay the execution of an action in miliseconds.
API Reference for the Timer Class