Function mozjs::jsapi::EnqueueJob

source ยท
pub unsafe extern "C" fn EnqueueJob(
    cx: *mut JSContext,
    job: Handle<*mut JSObject>,
) -> 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.