Re: Question about RPC calls
Hi,
Basically:
rpc_funct_A(){
onSuccess(){
rpc_funct_B(){
onSuccess(){
// some code to execute only when both functions get to an end.
}
}
}
}
A look at MVP + Event Driven should give you some nice design/pattern.
On Tue, Nov 17, 2009 at 3:04 PM, Zenon <zenon66@gmail.com> wrote:
Hello, I was wandering how to find out when 2 RP calls finish in order
to execute some code.
An example:
rpc_funct_A();
rpc_funct_B();
// some code to execute only when both functions get to an end.
As you know, *some code* could probably begin before rpc_funct ends
their execution
and I don't want that.
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
--
A coward is incapable of exhibiting love; it is the prerogative of the brave.
--
Mohandas Gandhi
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home