Open History to see the last commit
function injectIsFetching(filters: () => QueryFilters): Signal<number>;
Defined in: packages/angular-query/src/inject-is-fetching.ts:15
Injects a signal that tracks the number of queries that your application is loading or fetching in the background (useful for app-wide loading indicators).
Can be used for app-wide loading indicators
Parameters#
filters#
() => QueryFilters
A reactive factory for the filters.
Returns#
Signal<number>
signal with number of loading or fetching queries.