Function mozjs::rust::jsapi_wrapped::AddPromiseReactions

source ยท
pub unsafe fn AddPromiseReactions(
    cx: *mut JSContext,
    promise: HandleObject<'_>,
    onFulfilled: HandleObject<'_>,
    onRejected: HandleObject<'_>,
) -> bool