* Resumes mutations that were paused because there was no network connection. Does nothing * (resolving immediately) if the client is currently offline. * * @example * ```ts * import { QueryClient } from '@tanstack/query-core' * * const queryClient = new QueryClient() * await
()
| 771 | * ``` |
| 772 | */ |
| 773 | resumePausedMutations(): Promise<unknown> { |
| 774 | if (onlineManager.isOnline()) { |
| 775 | return this.#mutationCache.resumePausedMutations() |
| 776 | } |
| 777 | return Promise.resolve() |
| 778 | } |
| 779 | |
| 780 | /** |
| 781 | * Returns the query cache this client is connected to. |
no test coverage detected