Top Description Methods
io.reactivex

public Interface ObservableOperator<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 Observer<? super Upstream>

Returns:

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

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

Method Detail

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

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

Parameters
observer:Observer<? super Downstream>

the child Observer instance

Returns:Observer<? super Upstream>

the parent Observer instance

Annotations
@NonNull
Exceptions
Exception:
on failure