Downstream
- the value type of the downstreamUpstream
- the value type of the upstreampublic interface ObservableOperator<Downstream,Upstream>
Modifier and Type | Method and Description |
---|---|
Observer<? super Upstream> |
apply(Observer<? super Downstream> observer)
Applies a function to the child Observer and returns a new parent Observer.
|
@NonNull Observer<? super Upstream> apply(@NonNull Observer<? super Downstream> observer) throws java.lang.Exception
observer
- the child Observer instancejava.lang.Exception
- on failure