zip

fun <T, R> Iterable<Single<T>>.zip(mapper: (List<T>) -> R): Single<R>

Subscribes to all provided Singles, accumulates all their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T, R> zip(vararg sources: Single<T>, mapper: (List<T>) -> R): Single<R>

Subscribes to all sourcess, accumulates all their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T1, T2, R> zip(source1: Single<T1>, source2: Single<T2>, mapper: (T1, T2) -> R): Single<R>

Subscribes to all source Singles, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T1, T2, T3, R> zip(source1: Single<T1>, source2: Single<T2>, source3: Single<T3>, mapper: (T1, T2, T3) -> R): Single<R>

Subscribes to all source Singles, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T1, T2, T3, T4, R> zip(source1: Single<T1>, source2: Single<T2>, source3: Single<T3>, source4: Single<T4>, mapper: (T1, T2, T3, T4) -> R): Single<R>

Subscribes to all source Singles, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T1, T2, T3, T4, T5, R> zip(source1: Single<T1>, source2: Single<T2>, source3: Single<T3>, source4: Single<T4>, source5: Single<T5>, mapper: (T1, T2, T3, T4, T5) -> R): Single<R>

Subscribes to all source Singles, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T1, T2, T3, T4, T5, T6, R> zip(source1: Single<T1>, source2: Single<T2>, source3: Single<T3>, source4: Single<T4>, source5: Single<T5>, source6: Single<T6>, mapper: (T1, T2, T3, T4, T5, T6) -> R): Single<R>

Subscribes to all source Singles, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T1, T2, T3, T4, T5, T6, T7, R> zip(source1: Single<T1>, source2: Single<T2>, source3: Single<T3>, source4: Single<T4>, source5: Single<T5>, source6: Single<T6>, source7: Single<T7>, mapper: (T1, T2, T3, T4, T5, T6, T7) -> R): Single<R>

Subscribes to all source Singles, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T1, T2, T3, T4, T5, T6, T7, T8, R> zip(source1: Single<T1>, source2: Single<T2>, source3: Single<T3>, source4: Single<T4>, source5: Single<T5>, source6: Single<T6>, source7: Single<T7>, source8: Single<T8>, mapper: (T1, T2, T3, T4, T5, T6, T7, T8) -> R): Single<R>

Subscribes to all source Singles, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.


fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> zip(source1: Single<T1>, source2: Single<T2>, source3: Single<T3>, source4: Single<T4>, source5: Single<T5>, source6: Single<T6>, source7: Single<T7>, source8: Single<T8>, source9: Single<T9>, mapper: (T1, T2, T3, T4, T5, T6, T7, T8, T9) -> R): Single<R>
fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> zip(source1: Single<T1>, source2: Single<T2>, source3: Single<T3>, source4: Single<T4>, source5: Single<T5>, source6: Single<T6>, source7: Single<T7>, source8: Single<T8>, source9: Single<T9>, source10: Single<T10>, mapper: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R): Single<R>

Subscribes to all source Singles, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.