Friday, February 24, 2012

Timer AsyncCallback issue

I have a timer set up to update an element on my UI periodically from
a buffer. If the buffer grows too small, I make an RPC call which
returns the next chunk of frames. However, I want the timer to
continue updating the UI off the existing buffer while the RPC call is
working. It seems that when the buffer needs to grow, the timer calls
calls the AsyncCallback function correctly and continues through the
rest of the run() function, but the next scheduled execution will not
occur until after the RPC call returns. Is there any way around this?

--
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