Skip to main content
Version: 4.x.x

OnSuccessCallbackType


import { OnSuccessCallbackType } from "@hyper-fetch/react"

Description

Defined in react/src/helpers/use-request-events/use-request-events.types.ts:92

Preview

type OnSuccessCallbackType<Request> = (params: CallbackParameters<Request, ExtractResponseType<Request>>) => void | Promise<void>;

Structure

(params: CallbackParameters<Request, ExtractResponseType<Request>>) => void | Promise<void>