flatMap<W> method
Implementation
AsyncEitherExtended<L, W> flatMap<W>(
FutureOr<Either<L, W>> Function(R r) fn,
) => then(
(result) =>
result.fold(LeftExtended.new, (r) async => await fn(r).extend()),
);
AsyncEitherExtended<L, W> flatMap<W>(
FutureOr<Either<L, W>> Function(R r) fn,
) => then(
(result) =>
result.fold(LeftExtended.new, (r) async => await fn(r).extend()),
);