UseRequestEventsPropsType
Import
import { UseRequestEventsPropsType } from "@hyper-fetch/react"
Source
Package
Preview
type UseRequestEventsPropsType<T> = {
actions: UseTrackedStateActions<T>;
dispatcher: Dispatcher<ExtractAdapterType<T>>;
getIsDataProcessing: (cacheKey: string) => boolean;
logger: LoggerMethods;
request: T;
setCacheData: (cacheData: CacheValueType<ExtractResponseType<T>, ExtractErrorType<T>>) => void;
}
Structure
UseRequestEventsPropsType
| Name | Type | Description |
|---|---|---|
| actions | | |
| dispatcher | | |
| logger | | |
| request | | |
| getIsDataProcessing | | |
| setCacheData | |