mirror of
https://github.com/TanStack/query.git
synced 2026-11-18 19:33:22 +00:00
773 B
773 B
| id | title |
|---|---|
| injectIsFetching | injectIsFetching |
Function: injectIsFetching()
function injectIsFetching(filters?, options?): Signal<number>;
Defined in: inject-is-fetching.ts:31
Injects a signal that tracks the number of queries that your application is loading or fetching in the background.
Can be used for app-wide loading indicators
Parameters
filters?
QueryFilters<readonly unknown[]>
The filters to apply to the query.
options?
Additional configuration
Returns
Signal<number>
signal with number of loading or fetching queries.