* Returns the mutation cache this client is connected to. * @returns The MutationCache instance. * @example * ```ts * import { QueryClient } from '@tanstack/query-core' * * const queryClient = new QueryClient() * const mutationCache = queryClient.getMutationCache() *
()
| 879 | * ``` |
| 880 | */ |
| 881 | getMutationCache(): MutationCache { |
| 882 | return this.#mutationCache |
| 883 | } |
| 884 | |
| 885 | /** |
| 886 | * Returns the default options that were set when creating the client, or via |
no outgoing calls