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 Exception
observer - the child SingleObserver instanceException - on failure