Is your feature request related to a problem? Please describe.
I'm always frustrated when i'm using a debounced input value and the old pending request result overrides the latest value
Describe the solution you'd like
I would like to be able to pass a cancelation source to the queries/mutations
Describe alternatives you've considered
queryClient.cancelQueries
Additional context
I'm aware that queryClient.cancelQueries does the job, but in terms of performance and DX, being able to pass the cancelation token source is more convinient
Is your feature request related to a problem? Please describe. I'm always frustrated when i'm using a debounced input value and the old pending request result overrides the latest value
Describe the solution you'd like I would like to be able to pass a cancelation source to the queries/mutations
Describe alternatives you've considered queryClient.cancelQueries
Additional context I'm aware that queryClient.cancelQueries does the job, but in terms of performance and DX, being able to pass the cancelation token source is more convinient