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

Method getQueries

packages/query-core/src/queriesObserver.ts:218–220  ·  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`.

()

Source from the content-addressed store, hash-verified

216 * the same order as the queries passed to the constructor or `setQueries`.
217 */
218 getQueries() {
219 return this.#observers.map((observer) => observer.getCurrentQuery())
220 }
221
222 /**
223 * Returns the underlying `QueryObserver` instances this observer manages,

Calls 1

getCurrentQueryMethod · 0.80

Tested by

no test coverage detected