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