Top Description Methods
io.reactivex

public Interface SingleOperator<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 SingleObserver<? super Upstream>

Returns:

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

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

Method Detail

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

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

Parameters
observer:SingleObserver<? super Downstream>

the child SingleObserver instance

Returns:SingleObserver<? super Upstream>

the parent SingleObserver instance

Annotations
@NonNull
Exceptions
Exception:
on failure