Searched refs:mapParallel (Results 1 – 2 of 2) sorted by relevance
26 suspend fun <A, B> Iterable<A>.mapParallel( in <lambda>() method31 withSemaphore(permits = permits) { mapParallel { withPermit { block(it) } } } in <lambda>()33 ?: mapParallel(block)36 suspend fun <A, B> Sequence<A>.mapParallel( in mapParallel() method39 ): List<B> = asIterable().mapParallel(parallelism, block) in mapParallel()41 private suspend fun <A, B> Iterable<A>.mapParallel(block: suspend (A) -> B): List<B> = in mapParallel() method
38 import com.android.intentresolver.util.mapParallel in <lambda>()285 mapParallel(parallelism = 4) { row -> createPreviewModel(row, unclaimedRecords) } in <lambda>()