andThenEach

inline fun <In, Out> Iterable<KotlinResult<In>>.andThenEach(success: (In) -> Out): List<KotlinResult<Out>>

Serial KotlinResult.andThen 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.

Return

A list of KotlinResult containing the results of each block.


Serial KotlinResult.andThen of multiple KotlinResults. Each result is processed in a separate coroutine, and the results are collected as a Sequence of KotlinResult.

Receiver

A Sequence of KotlinResult to process.

Return

A sequence of KotlinResult containing the results of each block.