* Returns the number of queries in the cache that are currently fetching, optionally * matching a set of filters. This includes background-fetching, loading new pages, and * loading more infinite query results. * @param filters - Narrows down which fetching queries are counted. Without filt
(filters?: Omit<QueryFilters, 'fetchStatus'>)
| 149 | * ``` |
| 150 | */ |
| 151 | isFetching(filters?: Omit<QueryFilters, 'fetchStatus'>): number { |
| 152 | return this.#queryCache.findAll({ ...filters, fetchStatus: 'fetching' }) |
| 153 | .length |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * Returns the number of mutations in the cache that are currently pending, optionally |
no test coverage detected