Wednesday, August 31, 2016

synchronously waiting for a Promise

Hi guys,

I'm trying to wrap a JS function which returns a Promise with a synchronous function in Java. Something like CompletableFuture.get(). I understand that CompletableFuture isn't emulated yet. 

Is there any other way to achieve this? The alternative of propagating callbacks/promises all the way up my Java stack is not really an option. 

Many thanks for any suggestions,

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment