How to manually abort a query / mutation using auto-generated hooks #1313
Answered
by
sebastienlabine
sebastienlabine
asked this question in
Q&A
-
Let's say I have a auto-generated hook for uploading a document. const [upload, { isLoading, isSuccess, isError, error }] = useUploadDocumentMutation(); How do I manually trigger an abort signal for this hook? |
Beta Was this translation helpful? Give feedback.
Answered by
sebastienlabine
Jul 16, 2021
Replies: 1 comment 3 replies
-
Found it.
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
sebastienlabine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found it.