awaitAllSettled

suspend fun <T> List<Deferred<T>>.awaitAllSettled(): List<Result<T>>

Awaits every deferred value and returns each outcome as a Result, in the original order.

Unlike awaitAll, this function never throws for a failed or cancelled deferred; the failure is captured in the corresponding Result and the remaining deferred values are still awaited.

Cancellation: cancelling the calling coroutine rethrows its CancellationException; only cancellation that belongs to one of the deferred values is captured as a failed Result.