flatMapTask<A, B> function

ReaderTask<ENV, B> Function<ENV>(ReaderTask<ENV, A> ) flatMapTask<A, B>(
  1. Task<B> f(
    1. A
    )
)

Implementation

ReaderTask<ENV, B> Function<ENV>(ReaderTask<ENV, A>) flatMapTask<A, B>(
  T.Task<B> Function(A) f,
) =>
    <ENV>(rt) => (env) {
          final task = rt(env);
          return () async => f(await task())();
        };