Incomplete
The operation is ongoing, but we do not know if it will be successful or a failure.
Properties
Returns Failure.failure.
Returns Failure.failure, or null
if this outcome is not a failure.
The current progression of this outcome.
Returns Success.value.
Returns Success.value, or null
if this outcome is not successful.
Functions
Syntax sugar for asOutcome.
Syntax sugar for ProgressiveOutcome.progress.
Replaces the progress information from this progressive outcome.
Converts a ProgressiveOutcome into a Progressive.
If this outcome is successful, replaces its value using transform.
If this outcome is failed, replaces its failure using transformFailure.
Executes block if this outcome is incomplete.
Executes block if this outcome is loading (its ProgressiveOutcome.progress is Progress.Loading).
Executes block if this outcome is successful.
Type-safe way to convert between an Unsuccessful and a ProgressiveOutcome.