-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cancel a request #189
Comments
@MrTeapot This isn't currently support out of the box, though you can implement the logic in your script by monitoring the input then only sending the request if it is indeed the last |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
I have a use case where I have a textbox that triggers a graphql query on input (debounced 300ms).
It's neccessary to cancel previous requests and only handle the last one, to prevent a race condition
Can this be achieved with this library in its current state or should this be considered a feature request? :)
Thanks in advance.
The text was updated successfully, but these errors were encountered: