andThen<C> method

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

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

Implementation

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