QueryClient should support a timeout
option
#9060
Unanswered
alexgleason
asked this question in
Ideas
Replies: 1 comment 2 replies
-
both |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I read this already, but the queryFn passes an AbortSignal now, which is the standard way to do cancellation of async functions.
In my hooks, I am doing slightly cursed things like this a lot:
What I want to be doing is this:
I just want it to do the
AbortSignal.any
automatically, and pass me an AbortSignal instance that already has the timeout on it.Beta Was this translation helpful? Give feedback.
All reactions