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

Method getObservers

packages/query-core/src/queriesObserver.ts:232–234  ·  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

230 * @returns The managed query observers.
231 */
232 getObservers() {
233 return this.#observers
234 }
235
236 /**
237 * 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