Skip to content
Discussion options

You must be logged in to vote

only way I see is to subscribe to the queryCache (queryClient.getQueryCache().subscribe), then listen to the update event, then look at the action.type, which should be error, then check if the error is a cancelledError with isCancelledError (can be imported).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joe223
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants