mapTo<R> method

Observable<R> mapTo<R>(
  1. R value
)

Emits a constant value for each value emitted by this Observable.

Implementation

Observable<R> mapTo<R>(R value) =>
    MapObservable<T, R>(this, constantFunction1(value));