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