Expand description
Implementation of microtasks and microtask queues. It is up to implementations of event loops to store a queue and perform checkpoints at appropriate times, as well as enqueue microtasks as required.
Structsยง
- Custom
Element Reaction Microtask - JobQueue ๐
- Notify
Mutation Observers Microtask - User
Microtask ๐ - A microtask that comes from a queueMicrotask() Javascript call
Staticsยง
- JOB_
QUEUE_ ๐TRAPS
Traitsยง
- Microtask
Runnable ๐
Functionsยง
- enqueue ๐
- Add a new microtask to this queue. It will be invoked as part of the next microtask checkpoint.
- get_
host_ ๐ โdefined_ data - https://searchfox.org/firefox-main/rev/446c6e609dbd7c355c2fb27209dfe4833211991f/xpcom/base/CycleCollectedJSContext.cpp#229
- get_
host_ ๐ โdefined_ global - https://searchfox.org/firefox-main/rev/446c6e609dbd7c355c2fb27209dfe4833211991f/xpcom/base/CycleCollectedJSContext.cpp#199
- job_
queue_ ๐clear - job_
queue_ ๐microtask_ checkpoint - https://html.spec.whatwg.org/multipage/#perform-a-microtask-checkpoint Perform a microtask checkpoint, executing all queued microtasks until the queue is empty.
- microtask_
from_ ๐jsval - run_
jobs ๐ โ - trace_
non_ ๐ โgc_ things_ micro_ task