UseIsFetchingOptionsType
Import
import { UseIsFetchingOptionsType } from "@hyper-fetch/react"
Source
Package
Preview
type UseIsFetchingOptionsType = {
predicate?: (request: RequestInstance) => boolean;
queryKey?: string | RegExp;
}
Structure
UseIsFetchingOptionsType
| Name | Type | Description |
|---|---|---|
| queryKey | | Count only the requests with matching queryKey - exact string or RegExp |
| predicate | | Count only the requests for which the predicate returns true |

