Top Description Methods
io.reactivex

public Interface SingleTransformer<Upstream, Downstream>

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

Interface to compose Singles.

Method Summary

Modifier and TypeMethod and Description
public SingleSource<Downstream>

Returns:

the transformed SingleSource instance
apply
(Single<Upstream>
the upstream Single instance
upstream
)

Applies a function to the upstream Single and returns a SingleSource with optionally different element type.

Method Detail

applyback to summary
public SingleSource<Downstream> apply(Single<Upstream> upstream)

Applies a function to the upstream Single and returns a SingleSource with optionally different element type.

Parameters
upstream:Single<Upstream>

the upstream Single instance

Returns:SingleSource<Downstream>

the transformed SingleSource instance

Annotations
@NonNull