These are chat archives for ReactiveX/RxJava

3rd
Sep 2018
Yannick Lecaillez
@ylecaillez
Sep 03 2018 08:55
Hi All !
For information, contrary to what the javadoc says, reduce does not throws NoSuchElementException on empty source.
The following tests fails:
Flowable.empty().reduce((r1, r2) -> r1).test().assertError(NoSuchElementException.class);
Not sure which part is wrong ? The javadoc or the impl ?
David Karnok
@akarnokd
Sep 03 2018 10:12
@ylecaillez ReactiveX/RxJava#6195
Yannick Lecaillez
@ylecaillez
Sep 03 2018 11:27
Great thanks, i'm on it :-)
Yannick Lecaillez
@ylecaillez
Sep 03 2018 11:50
@akarnokd ReactiveX/RxJava#6197 hope that helps.