andThen<C> method

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

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

Implementation

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