|
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 |
- XMLHttpRequest (re)synchronization Robin Pelgrim
- Re: XMLHttpRequest (re)synchronization Anne van Kesteren
