parallel Try Recover
suspend fun <T> Iterable<KotlinResult<T>>.parallelTryRecover(failure: suspend CoroutineScope.(Throwable) -> T): List<KotlinResult<T>>
Parallel KotlinResult.tryRecover of multiple KotlinResults. Each result is processed in a separate coroutine, and the results are collected as a List of KotlinResult.
Receiver
An Iterable of KotlinResult to process in parallel.
Return
A list of KotlinResult containing the results of each block.
See also
parallel Map
suspend fun <T> Sequence<KotlinResult<T>>.parallelTryRecover(failure: suspend CoroutineScope.(Throwable) -> T): List<KotlinResult<T>>
Parallel KotlinResult.tryRecover of multiple KotlinResults. Each result is processed in a separate coroutine, and the results are collected as a Sequence of Deferred KotlinResult.
Receiver
A Sequence of KotlinResult to process in parallel.
Return
A List of KotlinResult containing the results of each block.
See also
parallel Map