I thought they were the same, but sometime, both of onSuccess
and onFailure
might not be entered, that's very strange, does anyone know that? Thank you!
CompositeFuture.all(future1(), future2(), future3())
.setHandler(ar -> {
if (ar.succeeded()) {
} else {}
});
CompositeFuture.all(future1(), future2(), future3())
.onSuccess(result -> {
})
.onFailure(e -> {
});
This bug has been reported and will be fixed in 3.8.5 (due in the next couple weeks).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.