Function script::dom::bindings::import::module::jsapi::SetJobQueue

source ·
pub unsafe extern "C" fn SetJobQueue(
    cx: *mut JSContext,
    queue: *mut JobQueue,
)
Expand description

Tell SpiderMonkey to use queue to schedule promise reactions.

SpiderMonkey does not take ownership of the queue; it is the embedding’s responsibility to clean it up after the runtime is destroyed.