Type Alias mozjs_sys::jsapi::JS::PromiseRejectionTrackerCallback
source · pub type PromiseRejectionTrackerCallback = Option<unsafe extern "C" fn(cx: *mut JSContext, mutedErrors: bool, promise: HandleObject, state: PromiseRejectionHandlingState, data: *mut c_void)>;
Aliased Type§
enum PromiseRejectionTrackerCallback {
None,
Some(unsafe extern "C" fn(_: *mut JSContext, _: bool, _: Handle<*mut JSObject>, _: PromiseRejectionHandlingState, _: *mut c_void)),
}