* Resumes mutations that were paused because there was no network connection. Does nothing * (resolving immediately) if the client is currently offline. * @returns A promise that resolves once the resumed mutations have settled. * @example * ```ts * import { QueryClient } from '@tanst
()
| 845 | * ``` |
| 846 | */ |
| 847 | resumePausedMutations(): Promise<unknown> { |
| 848 | if (onlineManager.isOnline()) { |
| 849 | return this.#mutationCache.resumePausedMutations() |
| 850 | } |
| 851 | return Promise.resolve() |
| 852 | } |
| 853 | |
| 854 | /** |
| 855 | * Returns the query cache this client is connected to. |
no test coverage detected