Module timers

Source

Structsยง

JsTimerEntry ๐Ÿ”’
JsTimerHandle ๐Ÿ”’
JsTimerTask ๐Ÿ”’
JsTimers ๐Ÿ”’
OneshotTimer ๐Ÿ”’
OneshotTimerHandle ๐Ÿ”’
OneshotTimers ๐Ÿ”’
TimerEvent
A notification that a timer has fired. TimerSource must be FromWindow when dispatched to ScriptThread and must be FromWorker when dispatched to a DedicatedGlobalWorkerScope
TimerEventId
The id to be used for a TimerEvent is defined by the corresponding TimerEventRequest.
TimerListener ๐Ÿ”’
A wrapper between timer events coming in over IPC, and the event-loop.

Enumsยง

InternalTimerCallback ๐Ÿ”’
IsInterval ๐Ÿ”’
OneshotTimerCallback ๐Ÿ”’
TimerCallback ๐Ÿ”’
TimerSource
Describes the source that requested the TimerEvent.

Functionsยง

clamp_duration ๐Ÿ”’
Step 5 of https://html.spec.whatwg.org/multipage/#timer-initialisation-steps