Package-level declarations
Functions
Returns a flow containing the output of applying KotlinResult.andThen to each value of the original flow.
Returns a flow containing the Out of applying KotlinResult.andIf to each value of the original flow.
Returns a flow containing only failed values of the original flow.
Returns a flow containing only successful values of the original flow.
Returns a flow that KotlinResult.flatten a nested KotlinResult for each value of the original flow.
Returns a flow containing the output of applying KotlinResult.mapFailure to each value of the original flow.
Returns a flow containing the output of applying KotlinResult.map to each value of the original flow.
Returns a flow that invokes the given action if it is a failure before each value of the upstream flow is emitted downstream.
Returns a flow that invokes the given action if it is a success before each value of the upstream flow is emitted downstream.
Parallel KotlinResult.andThen of multiple KotlinResults. Each result is processed in a separate coroutine, and the results are collected as a List of KotlinResult.
Parallel KotlinResult.andThen of multiple KotlinResults. Each result is processed in a separate coroutine, and the results are collected as a Sequence of Deferred KotlinResult.
Parallel KotlinResult.fold of multiple KotlinResults. Each result is processed in a separate coroutine, and the results are collected as a List of Out.
Parallel KotlinResult.fold of multiple KotlinResults. Each result is processed in a separate coroutine, and the results are collected as a Sequence of Deferred Out.
Parallel execution of multiple resultOf lambdas. Each lambda is executed in a separate coroutine, and the results are collected as a List of KotlinResult.
Parallel execution of multiple resultOf lambdas. Each lambda is executed in a separate coroutine, and the results are collected as a List of KotlinResult.
Parallel KotlinResult.tryRecover of multiple KotlinResults. Each result is processed in a separate coroutine, and the results are collected as a List of KotlinResult.
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.
Returns a flow containing the output of applying KotlinResult.tryRecover to each value of the original flow.