pub unsafe fn add_promise_reactions(
    context: *mut JSContext,
    promise_obj_ref: &QuickJsValueAdapter,
    then_func_obj_ref_opt: Option<QuickJsValueAdapter>,
    catch_func_obj_ref_opt: Option<QuickJsValueAdapter>,
    finally_func_obj_ref_opt: Option<QuickJsValueAdapter>,
) -> Result<(), JsError>
Expand description

§Safety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid