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

Method getQueries

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

* Returns the underlying `Query` instances currently being observed, in * the same order as the queries passed to the constructor or `setQueries`. * @returns The observed queries.

()

Source from the content-addressed store, hash-verified

226 * @returns The observed queries.
227 */
228 getQueries() {
229 return this.#observers.map((observer) => observer.getCurrentQuery())
230 }
231
232 /**
233 * Returns the underlying `QueryObserver` instances this observer manages,

Callers 3

shouldBlockPendingTasksFunction · 0.80

Calls 1

getCurrentQueryMethod · 0.80

Tested by

no test coverage detected