T - the upstream typeR - the output type@FunctionalInterface public interface SingleConverter<T,R>
Single.to(io.reactivex.rxjava3.core.SingleConverter<T, ? extends R>) operator to turn a Single into another
value fluently.
History: 2.1.7 - experimental
| Modifier and Type | Method and Description |
|---|---|
R |
apply(@NonNull Single<T> upstream)
Applies a function to the upstream
Single and returns a converted value of type R. |