andThen<C> method

  1. @override
ReaderTaskEither<E, L, C> andThen<C>(
  1. covariant ReaderTaskEither<E, L, C> then()
)
override

If running this ReaderTaskEither returns Right, then return the result of calling then. Otherwise return Left.

Implementation

@override
ReaderTaskEither<E, L, C> andThen<C>(
  covariant ReaderTaskEither<E, L, C> Function() then,
) =>
    flatMap((_) => then());