Skip to content

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 ​

ParameterType
callback() => void

Returns ​

void

The SDK is released under the Apache License 2.0