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 to abort Ajax request before sending another using 'ajax' hub? #119

Open
ika18 opened this issue Oct 11, 2013 · 1 comment
Open

How to abort Ajax request before sending another using 'ajax' hub? #119

ika18 opened this issue Oct 11, 2013 · 1 comment
Labels

Comments

@ika18
Copy link
Member

ika18 commented Oct 11, 2013

Let's say sometimes use an ajax to load a list but this request doesn't get back yet. We do another action like turn to the next page. I want to abort the previous Ajax before sending the new one.
Is there any possible to do it by using 'ajax' hub?

@mikaelkaron
Copy link
Member

Not at the moment, but maybe it could be implemented... Problem is that all we have is a promise on the other end, and we can't reject that from the outside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants