Restart a timer with the specified callback and optional delay and time.
This is equivalent to stopping this timer and creating a new timer with the specified arguments,
although this timer retains the original invocation priority.
Parameters
callbackFn: ((elapsed) => void)
(elapsed): void
Parameters
elapsed: number
Returns void
Optionaldelay: number
An optional numeric delay in milliseconds (default = 0) relative to time.
Optionaltime: number
An optional time in milliseconds relative to which the delay is calculated (default = now).
Restart a timer with the specified callback and optional delay and time. This is equivalent to stopping this timer and creating a new timer with the specified arguments, although this timer retains the original invocation priority.