Function 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,
    host_defined_data: HandleObject,
) -> bool
Expand description

https://searchfox.org/mozilla-central/rev/2a8a30f4c9b918b726891ab9d2d62b76152606f1/xpcom/base/CycleCollectedJSContext.cpp#355 SM callback for promise job resolution. Adds a promise callback to the current global’s microtask queue.