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

Method isLoading

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

Source from the content-addressed store, hash-verified

326 }
327
328 public get isLoading() {
329 // check if any observer is loading
330 return Array.from(this.state.observers.values()).some(
331 (observer) => observer.getCurrentResult().isLoading,
332 )
333 }
334
335 public get dataUpdatedAt() {
336 // compute the max dataUpdatedAt of all observers

Callers 1

Calls 2

fromMethod · 0.80
valuesMethod · 0.45

Tested by

no test coverage detected