ResultUnwrapX<T> extension
Utility extensions on the Result sealed hierarchy to streamline functional recovery paths and fluid asynchronous fallback operations.
- on
-
- Result<
T>
- Result<
Methods
-
getOrElseAsync(
FutureOr< T> onFallback(Failure failure)) → Future<T> -
Available on Result<
Extracts the encapsulated success value directly from Success, or invokes an asynchronous fallback strategy when a Failure is encountered.T> , provided by the ResultUnwrapX extension