T
- the upstream typeR
- the output typepublic 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(Observable<T> upstream)
Applies a function to the upstream Observable and returns a converted value of type
R . |
@NonNull R apply(@NonNull Observable<T> upstream)
R
.upstream
- the upstream Observable instance