T
- the upstream typeR
- the output type@FunctionalInterface public interface MaybeConverter<T,R>
Maybe.to(io.reactivex.rxjava3.core.MaybeConverter<T, ? extends R>)
operator to turn a Maybe
into another
value fluently.
History: 2.1.7 - experimental
Modifier and Type | Method and Description |
---|---|
R |
apply(@NonNull Maybe<T> upstream)
Applies a function to the upstream
Maybe and returns a converted value of type R . |