Skip to main content
Version: v8.0.0

CallbackParameters


Import
import { CallbackParameters } from "@hyper-fetch/react"

Preview

type CallbackParameters<Request,Resp> = { mutationContext: (ExtractMutationContextType<Request> | undefined); response: Resp } & Omit<RequestResponseEventType<Request>, response>;

Structure

CallbackParameters
NameTypeDescription
mutationContext
ExtractMutationContextType<Request> | undefined
response
Resp