Success
The latest known result of the operation was a success, available as value.
If progress is loading, this means the operation has been retried in an attempt to access a more up-to-date version.
Constructors
Properties
Returns Failure.failure.
Returns Failure.failure, or null
if this outcome is not a failure.
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.