-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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 -> {
return null;
});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.
Metadata
Metadata
Assignees
Labels
No labels