Skip to main content

queue_microtask

Function queue_microtask 

Source
pub fn queue_microtask(callback: JsFunction, context: &mut Context)
Expand description

The queueMicrotask() method of the Window interface queues a microtask to be executed at a safe time prior to control returning to the browser’s event loop.