As far as I know, there is no gwt rpc lock because it is the opposite idea for an asynchronous callback.
But you can use these two methods
- Timer. Read the timer and make sure that there is some return object that is not equal to zero, and stop and cancel the timer and continue working. If the timer is active, do not do other work. This is a very inefficient way. Missing OO design pattern and too many if-else-if statements
- Rpc
onSuccess(). , , .
- (onSuccess). ,
user467871