CallbackParameters
import { CallbackParameters } from "@hyper-fetch/react"
Description
Defined in helpers/use-request-events/use-request-events.types.ts:87
Preview
type CallbackParameters<Request,ResponseType> = {
details: ResponseDetailsType;
request: Request;
response: ResponseType;
}
Structure
{
details: {
isCanceled: boolean;
isOffline: boolean;
retries: number;
timestamp: number;
};
request: Request;
response: ResponseType;
}