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