--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/751efe73-e694-4774-84fd-cd34388b3b6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Vert.x futures are not Java futures. You need to call setHandler to register a callback. This is how you get notified of completion.
2016-09-28 18:41 GMT+02:00 Piero dS <dslp...@gmail.com>:
This code does not block and just goes through:
Future<String> f = Future.future();
f.result();
How do I know when my future is complete then if result() does not block before Future.complete() is called?
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
2 how do you pass the result of a Future to the next Future?
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/63dcf823-9bbe-4047-a2f8-2b1f2748c9ba%40googlegroups.com.