Private
Optional
_callbackPrivate
_finalOnce timer stops, the time elapsed is stored here. For simplicity, this prop is kept private and consumer should use timeElapsed instead.
Private
_maxWe use a max time for the timer to avoid it counting "forever". This value is configurable during construction.
Private
Optional
_startPrivate
_statusPrivate
Optional
_timerReturns the current elapsed time of the timer. Don't use this number for very time-critical use-cases.
Generated using TypeDoc
An optional callback when the timer stops.