I think your options are;
a) Just nest one request inside the other.
or
b) Do both requests separately, but within both the OnResponse check a
flag to see if the other one has finished as well. If either flags
that both are done, then trigger the message/code you want to run
based on this.

I think b is better, but I'm sure someone else might have better more
detailed advice.

On Aug 30, 2:20 am, Jaap <[email protected]> wrote:
> Hi,
>
> When starting my webapp I do two RPC calls. I need the data of both of
> them in order to display something. If you work with threads with a
> native program you just use semaphores to achieve this. What's the
> way to do this in GWT?
>
> Thanks
>
> Jaap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to