parallel Map
open fun <T, R> parallelMap(items: Collection<T>, maxConcurrency: Int, transform: (t: T) -> R): List<R>
Execute the operations in parallel.
Parameters
items
the collection of items to process
max Concurrency
the maximum number of concurrent operations to run
transform
the transformation function to apply to each element