Skip to content
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

How I can cancel the previous search you have added? #56

Open
sakshigargit opened this issue May 24, 2017 · 2 comments
Open

How I can cancel the previous search you have added? #56

sakshigargit opened this issue May 24, 2017 · 2 comments

Comments

@sakshigargit
Copy link

I have added the cancel method in my Vue file but the logic to cancel the request is not clear.
I have read all the code of yours but unable to find how you are processing it.

@gerciljunio
Copy link

You did it? 😄

@upwebdesign
Copy link

When the fetch method is called, there is a race between the search being canceled and the request finishing. While this may be useful, this does not appear to abort the actual http request. For myself, this is causing lag in the search results waiting for the other requests to finish. Before attempting a pull request, I want to make sure this is accurate and the current script is NOT canceling the http request as it is now. If I am completely missing the functionality to cancel the http request, my bad.

@seka seka mentioned this issue Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants