flatMapAsync<T> method

AsyncEither<L, T> flatMapAsync<T>(
  1. FutureOr<Either<L, T>> f(
    1. R
    )
)

Implementation

AsyncEither<L, T> flatMapAsync<T>(FutureOr<Either<L, T>> Function(R) f) =>
    fold(
      (e) async => Either<L, T>.left(e),
      (r) async => await f(r),
    );