public class UniAndGroup2<T1,T2> extends UniAndGroupIterable<T1>
unis
.Constructor and Description |
---|
UniAndGroup2(Uni<? extends T1> source,
Uni<? extends T2> other) |
Modifier and Type | Method and Description |
---|---|
Uni<Tuple2<T1,T2>> |
asTuple() |
UniAndGroup2<T1,T2> |
collectFailures()
Configure the processing to wait until all the
unis to fires an event (item or failure) before
firing the failure. |
<O> Uni<O> |
combinedWith(BiFunction<T1,T2,O> combinator)
Creates the resulting
Uni . |
combinedWith
public UniAndGroup2<T1,T2> collectFailures()
unis
to fires an event (item or failure) before
firing the failure. If several failures have been collected, a CompositeException
is fired wrapping
the different failures.collectFailures
in class UniAndGroupIterable<T1>
UniAndGroup2
public Uni<Tuple2<T1,T2>> asTuple()
Uni
. The items are combined into a Tuple2<T1, T2>
.public <O> Uni<O> combinedWith(BiFunction<T1,T2,O> combinator)
Uni
. The items are combined using the given combinator function.O
- the type of itemcombinator
- the combinator function, must not be null
Uni
. The items are combined into a Tuple2<T1, T2>
.Copyright © 2019–2020 SmallRye. All rights reserved.