SIGN IN SIGN UP
TanStack / query UNCLAIMED

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

0 0 0 TypeScript

fix(core): make sure pausedMutations always execute in serial (#4902)

* fix: make sure pausedMutations always execute in serial

when resumePausedMutations is called multiple times, we are starting the second paused mutation even though the first one has not yet finished. This can happen when a focus event and an online event happen in short succession

* fix: always return the same Promise when resumePausedMutations is called
D
Dominik Dorfmeister committed
8991d7c0193c91fb17a97998bdbcda4363943f35
Parent: 65cd596
Committed by GitHub <noreply@github.com> on 1/30/2023, 2:42:36 PM