TanStackT
TanStack2y ago
6 replies
capable-brown

mutateAsyc and onSuccess

Hi. I was under the impression that onSuccess callback is not called for mutateAsync. My use case is that I only want to invalidate after a handful of simultaneous mutateAsyncs are settled. Am I wrong in my assumption? Because onSuccess callback seems to be triggering on mitateasync
Was this page helpful?