pub unsafe extern "C" fn SetPromiseRejectionTrackerCallback(
    cx: *mut JSContext,
    callback: Option<unsafe extern "C" fn(_: *mut JSContext, _: bool, _: Handle<*mut JSObject>, _: PromiseRejectionHandlingState, _: *mut c_void)>,
    data: *mut c_void,
)
Expand description

Sets the callback that’s invoked whenever a Promise is rejected without a rejection handler, and when a Promise that was previously rejected without a handler gets a handler attached.