asOutcome
fun <Failure, Value> ProgressiveOutcome<Failure, Value>.asOutcome(): Outcome<Failure, Value>?(source)
Converts this progressive outcome into a regular outcome.
Because regular outcomes do not have a concept of progression, the progress information is lost. To access both the outcome and the progression information, consider using destructuration instead:
val (outcome, progression) = /* ProgressiveOutcome */
Content copied to clipboard