Closed
Description
I have discovered that, invoking Single.zip with an empty Iterable will not call given zipper function. Is this behavior by design? I would expect that the zipper function would be called with an empty object-array.
@Test
void singleDoesNothing() {
Single<Object[]> zip =
Single.zip(
Collections.emptyList(),
objects -> {
return objects;
});
zip.test().assertNotComplete().assertNoValues();
}
Used version: 2.1.7