Function script::script_runtime::enqueue_promise_job
source · unsafe extern "C" fn enqueue_promise_job(
extra: *const c_void,
cx: *mut JSContext,
promise: HandleObject,
job: HandleObject,
_allocation_site: HandleObject,
incumbent_global: HandleObject,
) -> bool
Expand description
SM callback for promise job resolution. Adds a promise callback to the current global’s microtask queue.