parallelResultOf

suspend fun <T> parallelResultOf(vararg blocks: suspend CoroutineScope.() -> T): List<KotlinResult<T>>

Parallel execution of multiple resultOf lambdas. Each lambda is executed in a separate coroutine, and the results are collected as a List of KotlinResult.

Return

A list of KotlinResult containing the results of each block.

Parameters

blocks

The lambdas to execute in parallel.

See also

parallelMap