Long running RPC request.

80 views
Skip to first unread message

Taras Koval

unread,
Oct 17, 2011, 8:24:53 PM10/17/11
to google-we...@googlegroups.com
I have noticed that when i am running Async  RPC and call take very long time, all entire page is frozen and browser prompt displayed to stop execution script.
I read that in GWT for that is IncrementalCommand. So question is how to make non-blocking RPC request, maybe using IncrementalCommand?

Jens

unread,
Oct 18, 2011, 4:38:14 AM10/18/11
to google-we...@googlegroups.com
RPC requests are non-blocking as they are async. This shouldn't be a problem. 

Your browser will only freeze when you do a way to much synchronously. In that case IncrementalCommand can help by splitting the large work into smaller chunks.

Sean

unread,
Oct 19, 2011, 9:57:59 AM10/19/11
to google-we...@googlegroups.com
Yeah, make sure its the actual RPC call that's taking forever, and not how you handle the data when it is returned. 
Reply all
Reply to author
Forward
0 new messages