XMLHttpRequest (re)synchronization

Please watch closer to the functionality of XMLHttpRequest.
Since it used mostly in a Javascript environment, where no threading functions are supported (at the moment) ,
ways for (re)synchronize asynchronous requests are insufficiant.
Since there is no Thread.sleep functionality in Javascript there is no way wait for the request to be finished without leaving a function (without using setTimeout).
This is unacceptable for application building. It's al so clumsy, primitive.
I expect more from W3C and introduce good standards.
Till there is no Threading functionality in JavaScript, the XMLHttpRequest object should be extended with
a 'resync' function. With this function you (simply) can wait for a async request to finish.

(Of coarse it would be better to impement Threading functionality in JS, but for the moment it just isn't there).


it's far from complete by now, please try to improve the standards.

thanks,

Robin Pelgrim

Received on Wednesday, 5 July 2006 22:11:40 UTC