View Single Post
Old 03-08-2009, 05:03 PM   PM User | #6
itsallkizza
Senior Coder

 
Join Date: Oct 2008
Location: Long Beach
Posts: 1,196
Thanks: 36
Thanked 164 Times in 164 Posts
itsallkizza will become famous soon enough
Queueing is slower than sending the requests asynchronously by either
a) attacking a reference to the handler and calling it using function.call(response), or
b) attaching an id to the request and having it send the id back with the response

Both methods allow you to send your requests simultaneously and receive them asap while still able to track which callbacks are being called by which request.
__________________
Feel free to e-mail me if I forget to respond ;)
ohsosexybrit@gmail.com
itsallkizza is offline   Reply With Quote