Friday, March 23, 2012

schedule an action for next idle time???

Hello,

I need to execute some code *after* all pending rpc calls have
terminated, e. g.:

...
void onModuleLoad()
{
doRPCcalls();

scheduledAction();
}

void scheduledAction()
{
Window.alert("This should be called after all RPC calls have
terminated");
}

I want to avoid placing the scheduled actions somewhere in the
onSuccess method of the RPC call. I just want to say "do this when the
current tasks are done".

Can I do this somehow?

Thanks
Magnus

--
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=en.

No comments:

Post a Comment