On Oct 23, 2009, at Oct 23,12:30 PM , Andrea Giammarchi wrote:

> It's quite pretentious to define an XHR call as setTimeout(fn, 0)

Not an example of how XHR is defined, but how XHR implemented as a  
thread could communicate back to the main thread. It can't call the  
onreadystate callback on its own thread, but it could use setTimeout  
to get it queued to be run on the main thread.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to