You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have two promises with different outcomes. When I try to join then I receive a compile error due the way the method When#join uses the type parameter.
Promisse<User> user = loadUser(email);
Promisse<LastCharge> lastCharge = loadLastCharge(email);
when.join(user, lastCharge)
// ^- Error here
.then(result -> {
returnnull;
});
The vertx API CompositeFuture#join has some helper method that uses different type parameter for each position, allowing that kind of code. There are any plan to have something in the same line for when.java?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I have two promises with different outcomes. When I try to join then I receive a compile error due the way the method When#join uses the type parameter.
The vertx API CompositeFuture#join has some helper method that uses different type parameter for each position, allowing that kind of code. There are any plan to have something in the same line for when.java?
Thanks.
The text was updated successfully, but these errors were encountered: