jquery-ajaxQueue icon indicating copy to clipboard operation
jquery-ajaxQueue copied to clipboard

Feature Request

Open Milad opened this issue 12 years ago • 13 comments

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

Milad avatar Feb 13 '13 18:02 Milad

  1. Seems like a good idea. :+1: 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?

gnarf avatar Feb 14 '13 18:02 gnarf

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 avatar Feb 14 '13 20:02 Milad

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

Milad avatar Feb 14 '13 20:02 Milad

Ditto to both of these requests!

ebrelsford avatar May 03 '13 14:05 ebrelsford

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

Milad avatar May 03 '13 14:05 Milad

Seems, like not updated yet?

Milad avatar May 03 '13 14:05 Milad

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

ebrelsford avatar May 03 '13 14:05 ebrelsford

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

Milad avatar May 03 '13 15:05 Milad

Hello

Any update on this?

Regards

Milad avatar Jun 27 '13 10:06 Milad

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

gnarf avatar Jun 27 '13 14:06 gnarf

Hi gnraf

Any news?

Regards

Milad avatar Oct 22 '13 11:10 Milad

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

caoglish avatar Dec 20 '13 14:12 caoglish

how to cancel any previously queued calls ?

MaulanaR avatar Sep 01 '16 06:09 MaulanaR