FEATURE REQUEST: Timeout for asyncGet & asyncPost

1 view
Skip to first unread message

hoosie

unread,
Aug 23, 2006, 1:59:44 AM8/23/06
to Google Web Toolkit
Hi,

Neither the asyncGet nor asyncPost have the ability to create a
onTimeout event, which would be part of the ResponseTextHandler
interface. I think most people need to be able to handle situations
where the network is not working properly or other rpc related issues,
and not having the ability to timeout simply locks up the browser on
failures.

I plan on implementing this myself by overriding the JSNI methods for
these features and including a JavaScript timer, where if a timeout (in
ms) is specified and the request doesn't complete before this time, the
onTimeout handler will be called.

Just wanted to make my request official :)

This has been mentioned before:
(http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/2667aac8504bd8e/7d81d1964ac39c76)

Reply all
Reply to author
Forward
0 new messages