java.lang.Object
io.smallrye.mutiny.groups.MultiConvert<T>
- Type Parameters:
T- the type of item emitted by the upstream.
Converts the upstream into another reactive type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts theMultiinto aFlow.Publisher.<R> RTransforms thisMultiinto a type using the provided converter.
-
Constructor Details
-
MultiConvert
-
-
Method Details
-
with
Transforms thisMultiinto a type using the provided converter.- Type Parameters:
R- the type produced by the converter- Parameters:
converter- the converter function- Returns:
- an instance of R
- Throws:
RuntimeException- if the conversion fails.
-
toPublisher
Converts theMultiinto aFlow.Publisher.Basically, this method returns the
Multias it is, asMultiimplementsFlow.Publisher.- Returns:
- the publisher
-