zip
fun <A, R, S, V> zip(x: Collector<A, R>, y: Collector<A, S>, combine: suspend (R, S) -> V): Collector<A, V>(source)
Combines two Collectors by performing the phases of each of them in parallel.
Parameters
fun <A, R, S, V> zip(x: NonSuspendCollector<A, R>, y: NonSuspendCollector<A, S>, combine: (R, S) -> V): NonSuspendCollector<A, V>(source)
Combines two NonSuspendCollectors by performing the phases of each of them in parallel.
Parameters
fun <A, R, S, T, V> zip(x: Collector<A, R>, y: Collector<A, S>, z: Collector<A, T>, combine: suspend (R, S, T) -> V): Collector<A, V>(source)
Combines three Collectors by performing the phases of each of them in parallel.
Parameters
fun <A, R, S, T, V> zip(x: NonSuspendCollector<A, R>, y: NonSuspendCollector<A, S>, z: NonSuspendCollector<A, T>, combine: (R, S, T) -> V): NonSuspendCollector<A, V>(source)
Combines three NonSuspendCollectors by performing the phases of each of them in parallel.
Parameters
x
First NonSuspendCollector
y
Second NonSuspendCollector
z
Third NonSuspendCollector
combine
Function that combines the end results