MCPcopy
hub / github.com/TanStack/query / isFetching

Method isFetching

packages/query-core/src/queryClient.ts:109–114  ·  view source on GitHub ↗
(
    filters?: TQueryFilters,
  )

Source from the content-addressed store, hash-verified

107 }
108
109 isFetching<TQueryFilters extends QueryFilters<any> = QueryFilters>(
110 filters?: TQueryFilters,
111 ): number {
112 return this.#queryCache.findAll({ ...filters, fetchStatus: 'fetching' })
113 .length
114 }
115
116 isMutating<
117 TMutationFilters extends MutationFilters<any, any> = MutationFilters,

Callers 12

WithKnownParametersFunction · 0.45
WithIdentifiersFunction · 0.45
WithKnownParametersFunction · 0.45
WithIdentifiersFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45

Calls 1

findAllMethod · 0.45

Tested by

no test coverage detected