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