StructsΒ§
- Initiating
Script πFetch Info - JsTimer
Entry π - JsTimer
Handle π - JsTimer
Task π - JsTimer
Task πData - JsTimers π
- Oneshot
Timer π - Oneshot
Timer πData - Oneshot
Timer πHandle - Oneshot
Timers π - Ordering
Entry π - Rooted
Oneshot πTimer - Timer
Event - A notification that a timer has fired.
TimerSourcemust beFromWindowwhen dispatched toScriptThreadand must beFromWorkerwhen dispatched to aDedicatedGlobalWorkerScope - Timer
Event Id - The id to be used for a
TimerEventis defined by the correspondingTimerEventRequest. - Timer
Listener π - A wrapper between timer events coming in over IPC, and the event-loop.
EnumsΒ§
- Internal
Timer πCallback - IsInterval π
- Oneshot
Timer πCallback - Oneshot
Timer πOrJs Callback - Rooted
Internal πTimer Callback - Rooted
Oneshot πTimer OrJs Callback - Timer
Callback π - Timer
Listener πContext - A helper to refer to the global of the timer.
For workers the scheduler is owned by the worker itself.
For window sources, the
Trustedreference would keep the window alive until the timer fires, so we lookup the global via the pipeline instead. - Timer
Source - Describes the source that requested the
TimerEvent.
FunctionsΒ§
- active_
script_ πfetch_ info - https://html.spec.whatwg.org/multipage/#timer-initialisation-steps
- clamp_
duration π - Step 5 of https://html.spec.whatwg.org/multipage/#timer-initialisation-steps
- collect_
heap_ πargs - invoke_
js_ πtimer
Type AliasesΒ§
- Completion
Step π - Ordering
Identifier π - https://html.spec.whatwg.org/multipage/#run-steps-after-a-timeout OrderingIdentifier per spec (βorderingIdentifierβ)
- Ordering
Queues π - RunSteps
Active πMap - RunSteps
Deadline π - Timer
Key π