-
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Sep 8, 2024
Replies: 1 comment
-
|
only way I see is to subscribe to the queryCache ( |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joe223
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

only way I see is to subscribe to the queryCache (
queryClient.getQueryCache().subscribe), then listen to theupdateevent, then look at theaction.type, which should beerror, then check if the error is a cancelledError withisCancelledError(can be imported).