thenAsync<TR> method

  1. @override
Future<Either<L, TR>> thenAsync<TR>(
  1. FutureOr<Either<L, TR>> fnR(
    1. R right
    )
)
override

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

Implementation

@override
Future<Either<L, TR>> thenAsync<TR>(
    FutureOr<Either<L, TR>> Function(R right) fnR) {
  return Future.value(fnR(value));
}