zipWith

fun <T, R, I> Single<T>.zipWith(other: Single<R>, mapper: (T, R) -> I): Single<I>

Subscribes to both the current Single and the other, accumulates their values and emits a value returned by the mapper function.

Please refer to the corresponding RxJava document.