-
DescriptionI often need to | EDIT: uniA and uniB are of different Types Uni<A> uniA = getUniA();
Uni<B> uniB = getUniB(); // Option A
Uni.combine().all().unis(uniA, uniB).combinedWith((a, b) -> makeNewUni(a, b)).flatMap(identity()) or // Option B
Uni.combine().all().unis(uniA, uniB).asTuple().flatMap(tuple -> makeNewUni(tuple.getItem1(), tuple.getItem2()) both of which are not too pretty. I guess an overloaded |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
How about |
Beta Was this translation helpful? Give feedback.
-
Something like |
Beta Was this translation helpful? Give feedback.
-
Something like |
Beta Was this translation helpful? Give feedback.
-
Feature request and PR found here #919 |
Beta Was this translation helpful? Give feedback.
Something like
combineToUni
?