ScanOperator<T> extension Null safety

on

Methods

fold<R>(R initialValue, Map2<R, T, R> transform) Observable<R>
Combines a sequence of values by repeatedly applying transform, starting with the provided initialValue.
reduce(Map2<T?, T, T?> transform) Observable<T?>
Combines a sequence of values by repeatedly applying transform.