Open
Description
Is your feature request related to a problem? Please describe.
We are using the latest Beta ...
We have a "costly" query that, alas, the user is calling over and over before the first one is even completed causing resources etc. to be used (and a huge slowdown on the system). If the user submits a 2nd (or 3rd) query we'd like to cancel the prior one and submit the new one ..
Describe the solution you'd like
I believe Apollo has a .cancel() method on the Query object. That seems like a good solution :)
Describe alternatives you've considered
We already have a keyboard debounce in place (300ms) but that isn't helping enough, the user is still able to submit a ton of queries and tie up the system.
Additional context
Can't think of anything.