Is the CompletableFuture on the emulation implementation plan for 2.8 release? It's an amazing helper for chaining asynchronous operations.
I think the consensus between Colin, Andrei and me (we have done most of the Java8 API work so far) is that we want to emulate CompletableFuture (except the synchronous get() methods of course) based on JS Promises. However currently no one is really working on it so it might not be in 2.8 release. Obviously you can always use a GWT library that supports promises for now.
Same is true for java.time. Actually some time ago someone else already did a java.time emulation based on threetenbp (which we would also use as foundation) but never contributed it to GWT itself. I don't know how well it works but you can find it at https://github.com/m-m-m/gwt-time if you want to try it.
-- J.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment