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