AsyncResult.prototype.orElse<U, F extends BaseError>(fn: (error: E) => Result<U, F> | AsyncResult<U, F> | Promise<Result<U, F>>): AsyncResult<T | U, F>
Returns this result if Ok, otherwise computes a fallback from the error.
F extends BaseError
AsyncResult<T | U, F>
AsyncResult of this or the computed fallback