Functions
queueMicrotask
queueMicrotask(callback
): void
Queues a microtask to be executed at a safe time prior to control returning to the runtime's event loop.
Parameters
Parameter | Type | Description |
---|---|---|
callback | () => void | A function to be executed when the runtime determines it is safe to invoke. |
Returns
void