Top Description Methods
io.reactivex

public Interface MaybeOperator<Downstream, Upstream>

Type Parameters
<Downstream>
the value type of the downstream
<Upstream>
the value type of the upstream
Imports
io.reactivex.annotations.*

Interface to map/wrap a downstream observer to an upstream observer.

Method Summary

Modifier and TypeMethod and Description
public MaybeObserver<? super Upstream>

Returns:

the parent MaybeObserver instance
apply
(MaybeObserver<? super Downstream>
the child MaybeObserver instance
observer
)

Applies a function to the child MaybeObserver and returns a new parent MaybeObserver.

Method Detail

applyback to summary
public MaybeObserver<? super Upstream> apply(MaybeObserver<? super Downstream> observer) throws Exception

Applies a function to the child MaybeObserver and returns a new parent MaybeObserver.

Parameters
observer:MaybeObserver<? super Downstream>

the child MaybeObserver instance

Returns:MaybeObserver<? super Upstream>

the parent MaybeObserver instance

Annotations
@NonNull
Exceptions
Exception:
on failure