flatMapLeftAsync<T> method

Future<Either<T, R>> flatMapLeftAsync<T>(
  1. FutureOr<Either<T, R>> f(
    1. L
    )
)

Implementation

Future<Either<T, R>> flatMapLeftAsync<T>(
  FutureOr<Either<T, R>> Function(L) f,
) =>
    fold(
      (e) async => await f(e),
      (r) async => Either.right(r),
    );