Indicates whether the next timer event should be scheduled before triggering the current one.
Protected Readonly elapsedEvent that is triggered on each elapsed interval of the timer.
Protected indexIndex representing the number of times the timer has elapsed.
Protected intervalThe time interval between each execution of the timer.
Protected Optional lastProtected Optional startProtected Optional timeoutIDIdentifier of the currently scheduled timeout.
Gets an event that is triggered on each elapsed interval of the timer.
Gets the number of times the timer has been invoked. This property reflects the total count of elapsed intervals, indicating how many times the timer's 'Elapsed' event has been triggered.
Gets a value indicating whether the timer is currently running.
Protected triggerStatic Protected scheduleSchedules the next timer event based on the timer's properties.
The timer instance.
Generated using TypeDoc
Represents a timer that can be used to schedule recurring tasks with a specified time interval.