Upstream
- the upstream value typeDownstream
- the downstream value typepublic interface SingleTransformer<Upstream,Downstream>
Modifier and Type | Method and Description |
---|---|
SingleSource<Downstream> |
apply(Single<Upstream> upstream)
Applies a function to the upstream Single and returns a SingleSource with
optionally different element type.
|
@NonNull SingleSource<Downstream> apply(@NonNull Single<Upstream> upstream)
upstream
- the upstream Single instance