Function: queueMicrotask()
ts
function queueMicrotask(callback): void;Defined in: types/desktop-engine.d.ts:4993
Runs a callback as a microtask: once the code running now and the microtasks queued before it are done, before timers, frames and events. What the callback throws is reported like an uncaught exception
Parameters
| Parameter | Type |
|---|---|
callback | () => void |
Returns
void
