andThen<B> method

  1. @override
ReaderTask<E, B> andThen<B>(
  1. covariant ReaderTask<E, B> then()
)
override

Run this ReaderTask and right after the ReaderTask returned from then.

Implementation

@override
ReaderTask<E, B> andThen<B>(covariant ReaderTask<E, B> Function() then) =>
    flatMap(
      (_) => then(),
    );