* Returns the query cache this client is connected to. * * @example * ```ts * import { QueryClient } from '@tanstack/query-core' * * const queryClient = new QueryClient() * const queryCache = queryClient.getQueryCache() * const queries = queryCache.findAll({ queryKey: ['posts
()
| 790 | * ``` |
| 791 | */ |
| 792 | getQueryCache(): QueryCache { |
| 793 | return this.#queryCache |
| 794 | } |
| 795 | |
| 796 | /** |
| 797 | * Returns the mutation cache this client is connected to. |
no outgoing calls