Downstream - the value type of the downstreamUpstream - the value type of the upstream@FunctionalInterface public interface ObservableOperator<Downstream,Upstream>
Observer to an upstream Observer.| Modifier and Type | Method and Description |
|---|---|
@NonNull Observer<? super Upstream> |
apply(@NonNull Observer<? super Downstream> observer)
Applies a function to the child
Observer and returns a new parent Observer. |
@NonNull @NonNull Observer<? super Upstream> apply(@NonNull @NonNull Observer<? super Downstream> observer) throws Throwable
Observer and returns a new parent Observer.observer - the child Observer instanceObserver instanceThrowable - on failure