Skip to main content
Version: v9.0.0(Outdated)

CallbackParameters


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

Preview​

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

Structure​

CallbackParameters
NameTypeDescription
mutationContext
ExtractMutationContextType<Request> | undefined
response
Resp