MapOperator<T> extension

on

Methods

map<R>(Map1<T, R> transform) Observable<R>

Available on Observable<T>, provided by the MapOperator extension

Applies the given projection function transform to each value emitted by this Observable, and emits the resulting value.
mapTo<R>(R value) Observable<R>

Available on Observable<T>, provided by the MapOperator extension

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