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

Feature Request #2

Open
Milad opened this issue Feb 13, 2013 · 13 comments
Open

Feature Request #2

Milad opened this issue Feb 13, 2013 · 13 comments

Comments

@Milad
Copy link

Milad commented Feb 13, 2013

I wish we have two things:

  1. The ability to name a queue, so we can use multiple queues at the same time.
  2. New calls added to a queue cancel any previously queued calls, that are not sent yet.

Possible?

Regards

@gnarf
Copy link
Owner

gnarf commented Feb 14, 2013

  1. Seems like a good idea. 👍 Was kinda planning on doing this in the next release.

  2. Perhaps having a "clear ajax queue" call would be nice too, any opinion on how the api for that might work?

@Milad
Copy link
Author

Milad commented Feb 14, 2013

Thank you for your reply,

Let's have a new option, if it's enabled for a queue, a new ajax call will cancel all unsent previous calls. This will be helpful when we save fields on the fly. In for example a text field, whenever you press a key, a new AJAX request will be queued, and the final result is that we have tens of queued ajax calls for the very same field in a form. So it makes sense to cancel all the previous calls.

Regards

@Milad
Copy link
Author

Milad commented Feb 14, 2013

The scenario I've written about is a real life example, I hope I convinced you to implement it.

@ebrelsford
Copy link

Ditto to both of these requests!

@Milad
Copy link
Author

Milad commented May 3, 2013

Thanks, I'll test and get back to you.

@Milad
Copy link
Author

Milad commented May 3, 2013

Seems, like not updated yet?

@Milad Milad closed this as completed May 3, 2013
@Milad Milad reopened this May 3, 2013
@ebrelsford
Copy link

Oh, I meant to say I'd like to see both of these happen, too, @Milad.

@Milad
Copy link
Author

Milad commented May 3, 2013

Ah, sorry. I thought you are the developer. OK, thanks for seconding my suggestion.

@Milad
Copy link
Author

Milad commented Jun 27, 2013

Hello

Any update on this?

Regards

@gnarf
Copy link
Owner

gnarf commented Jun 27, 2013

Yeah - Sorry, This last 3 months or so has been absolute chaos for me and I haven't had much free time to add this, though I'm pretty sure I know what I want to do for it now, I hope to be able to get to it sometime in the middle of this month after I move

@Milad
Copy link
Author

Milad commented Oct 22, 2013

Hi gnraf

Any news?

Regards

@caoglish
Copy link

Interesting, I just saw your post after I resolving multi queues. I have the same need for this multi queue thing. so I decide modify the source code. it's not difficult.

if you are interesting, you can see my change

@MaulanaR
Copy link

MaulanaR commented Sep 1, 2016

how to cancel any previously queued calls ?

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

5 participants