Upstream
- the upstream value typeDownstream
- the downstream value typepublic interface ObservableTransformer<Upstream,Downstream>
Modifier and Type | Method and Description |
---|---|
ObservableSource<Downstream> |
apply(Observable<Upstream> upstream)
Applies a function to the upstream Observable and returns an ObservableSource with
optionally different element type.
|
@NonNull ObservableSource<Downstream> apply(@NonNull Observable<Upstream> upstream)
upstream
- the upstream Observable instance