orElseAsync<F extends Object> abstract method
Calls op
with the Err
value if the result is Err
, otherwise returns
this
.
Implementation
Future<Result<T, F>> orElseAsync<F extends Object>(
Future<Result<T, F>> Function(E) op,
);