pub fn add_promise_reactions_q(
    context: &QuickJsRealmAdapter,
    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>