andThen<B> method

  1. @override
IO<B> andThen<B>(
  1. covariant IO<B> then()
)
override

Chain the result of then to this IO.

Implementation

@override
IO<B> andThen<B>(covariant IO<B> Function() then) => flatMap((_) => then());