ReaderTask<E, A>.flatten constructor
ReaderTask<E, A>.flatten (
- ReaderTask<
E, ReaderTask< taskE, A> >
Flat a ReaderTask contained inside another ReaderTask to be a single ReaderTask.
Implementation
factory ReaderTask.flatten(ReaderTask<E, ReaderTask<E, A>> task) =>
task.flatMap(identity);