Package io.smallrye.mutiny.groups
Class UniAndGroupIterable<T1>
- java.lang.Object
-
- io.smallrye.mutiny.groups.UniAndGroupIterable<T1>
-
- Direct Known Subclasses:
UniAndGroup2,UniAndGroup3,UniAndGroup4,UniAndGroup5,UniAndGroup6,UniAndGroup7,UniAndGroup8,UniAndGroup9
public class UniAndGroupIterable<T1> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UniAndGroupIterable(Uni<? extends T1> source, java.lang.Iterable<? extends Uni<?>> iterable)UniAndGroupIterable(Uni<? extends T1> source, java.lang.Iterable<? extends Uni<?>> iterable, boolean collectFailures)UniAndGroupIterable(java.lang.Iterable<? extends Uni<?>> iterable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UniAndGroupIterable<T1>collectFailures()<O> Uni<O>combinedWith(java.util.function.Function<java.util.List<?>,O> function)Uni<java.lang.Void>discardItems()
-
-
-
Method Detail
-
collectFailures
public UniAndGroupIterable<T1> collectFailures()
-
combinedWith
public <O> Uni<O> combinedWith(java.util.function.Function<java.util.List<?>,O> function)
-
discardItems
public Uni<java.lang.Void> discardItems()
Discards the items emitted by the combinedunis, and just emitsnullwhen all theunishave completed successfully. In the case of failure, the failure is propagated.- Returns:
- the
Uni Uni<Void>emittingnullwhen all theunishave completed, or propagating the failure.
-
-