MCPcopy Create free account
hub / github.com/TanStack/query / getObservers

Method getObservers

packages/query-core/src/queriesObserver.ts:238–240  ·  view source on GitHub ↗

* Returns the underlying `QueryObserver` instances this observer manages, * in the same order as the queries passed to the constructor or * `setQueries`. * @returns The managed query observers.

()

Source from the content-addressed store, hash-verified

236 * @returns The managed query observers.
237 */
238 getObservers() {
239 return this.#observers
240 }
241
242 /**
243 * The `QueriesObserver` counterpart of {@link QueryObserver#getOptimisticResult} — computes

Callers 6

trackResultMethod · 0.80
persist.test.tsFile · 0.80
getRefetchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected