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

Method getQueries

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

220 * @returns The observed queries.
221 */
222 getQueries() {
223 return this.#observers.map((observer) => observer.getCurrentQuery())
224 }
225
226 /**
227 * Returns the underlying `QueryObserver` instances this observer manages,

Callers 3

shouldBlockPendingTasksFunction · 0.80

Calls 1

getCurrentQueryMethod · 0.80

Tested by

no test coverage detected