apply a function to each item emitted by an Observable, sequentially, and emit the final value
collect reduce
It is a bad idea to use reduce
to collect emitted items into a mutable data structure. Instead, use collect
for that purpose.
collect reduce
It is a bad idea to use reduce
to collect emitted items into a mutable data structure. Instead, use collect
for that purpose.
reduce
reduce
© ReactiveX contributors
Licensed under the Apache License 2.0.
http://reactivex.io/documentation/operators/reduce.html