public interface

SingleTransformer

io.reactivex.SingleTransformer<Upstream, Downstream>

Class Overview

Interface to compose Singles.

Summary

Public Methods
abstract SingleSource<Downstream> apply(Single<Upstream> upstream)
Applies a function to the upstream Single and returns a SingleSource with optionally different element type.

Public Methods

public abstract SingleSource<Downstream> apply (Single<Upstream> upstream)

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

Parameters
upstream the upstream Single instance
Returns
  • the transformed SingleSource instance