zip

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

Subscribes to all provided Maybes, 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: Maybe<T>, mapper: (List<T>) -> R): Maybe<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: Maybe<T1>, source2: Maybe<T2>, mapper: (T1, T2) -> R): Maybe<R>

Subscribes to all source Maybes, 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: Maybe<T1>, source2: Maybe<T2>, source3: Maybe<T3>, mapper: (T1, T2, T3) -> R): Maybe<R>

Subscribes to all source Maybes, 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: Maybe<T1>, source2: Maybe<T2>, source3: Maybe<T3>, source4: Maybe<T4>, mapper: (T1, T2, T3, T4) -> R): Maybe<R>

Subscribes to all source Maybes, 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: Maybe<T1>, source2: Maybe<T2>, source3: Maybe<T3>, source4: Maybe<T4>, source5: Maybe<T5>, mapper: (T1, T2, T3, T4, T5) -> R): Maybe<R>

Subscribes to all source Maybes, 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: Maybe<T1>, source2: Maybe<T2>, source3: Maybe<T3>, source4: Maybe<T4>, source5: Maybe<T5>, source6: Maybe<T6>, mapper: (T1, T2, T3, T4, T5, T6) -> R): Maybe<R>

Subscribes to all source Maybes, 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: Maybe<T1>, source2: Maybe<T2>, source3: Maybe<T3>, source4: Maybe<T4>, source5: Maybe<T5>, source6: Maybe<T6>, source7: Maybe<T7>, mapper: (T1, T2, T3, T4, T5, T6, T7) -> R): Maybe<R>

Subscribes to all source Maybes, 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: Maybe<T1>, source2: Maybe<T2>, source3: Maybe<T3>, source4: Maybe<T4>, source5: Maybe<T5>, source6: Maybe<T6>, source7: Maybe<T7>, source8: Maybe<T8>, mapper: (T1, T2, T3, T4, T5, T6, T7, T8) -> R): Maybe<R>

Subscribes to all source Maybes, 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: Maybe<T1>, source2: Maybe<T2>, source3: Maybe<T3>, source4: Maybe<T4>, source5: Maybe<T5>, source6: Maybe<T6>, source7: Maybe<T7>, source8: Maybe<T8>, source9: Maybe<T9>, mapper: (T1, T2, T3, T4, T5, T6, T7, T8, T9) -> R): Maybe<R>
fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> zip(source1: Maybe<T1>, source2: Maybe<T2>, source3: Maybe<T3>, source4: Maybe<T4>, source5: Maybe<T5>, source6: Maybe<T6>, source7: Maybe<T7>, source8: Maybe<T8>, source9: Maybe<T9>, source10: Maybe<T10>, mapper: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R): Maybe<R>

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

Please refer to the corresponding RxJava document.