MCPcopy Create free account
hub / github.com/TanStack/db / isFetching

Method isFetching

packages/query-db-collection/src/query.ts:314–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312
313 // Getters for QueryObserver state
314 public get isFetching() {
315 // check if any observer is fetching
316 return Array.from(this.state.observers.values()).some(
317 (observer) => observer.getCurrentResult().isFetching,
318 )
319 }
320
321 public get isRefetching() {
322 // check if any observer is refetching

Callers

nothing calls this directly

Calls 2

fromMethod · 0.80
valuesMethod · 0.45

Tested by

no test coverage detected