A LibertasTimer created with Libertas_TimerNew.
Positive timeout in milliseconds.
Optional
func: LibertasTimerCallbackOptional. If present, replace the callback function of an old-timer.
Optional
tag: anyOptional. If present, replace the tag object of an old-timer.
Arguments func and tag will not be reset to undefined or null. If arguments are undefined, original values will be kept.
Timer is always a one-off. When the timeout is reached, the callback is called, and the timer is then automatically canceled as if Libertas_TimerCancel is called.
Both active timer and canceled timer can be reused by calling Libertas_TimerUpdate. Always try to reuse instead of creating new timers.
Timer API is reactive API. Timers are driven by Libertas_WaitReactive. Never mix imperative and reactive API within the same thread.
Reset and update a timer.