thenLeftAsync<TL> method

  1. @override
Future<Either<TL, R>> thenLeftAsync<TL>(
  1. FutureOr<Either<TL, R>> fnL(
    1. L left
    )
)
override

Transform value of Left when transformation may be finished with an Right

Implementation

@override
Future<Either<TL, R>> thenLeftAsync<TL>(
    FutureOr<Either<TL, R>> Function(L left) fnL) {
  return Future.value(Right<TL, R>(value));
}