orElseAsync<F extends Object> abstract method

Future<Result<T, F>> orElseAsync<F extends Object>(
  1. Future<Result<T, F>> op(
    1. E
    )
)

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,
);