mirror of
https://github.com/TanStack/query.git
synced 2026-11-16 22:50:20 +00:00
741 B
741 B
| id | title |
|---|---|
| injectIsFetching | 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.