parallelMap

inline suspend fun <A, B> Iterable<A>.parallelMap(parallelism: Int, start: CoroutineStart = CoroutineStart.DEFAULT, crossinline mapper: suspend (A) -> B): List<B>(source)

Applies a given mapper function in parallel over this Iterable with a given parallelism.