Function mozjs_sys::jsapi::js::EnqueueJob

source ยท
pub unsafe extern "C" fn EnqueueJob(
    cx: *mut JSContext,
    job: HandleObject,
) -> bool
Expand description

Enqueue |job| on the internal job queue.

This is useful in tests for creating situations where a call occurs with no other JavaScript on the stack.