ReaderTask<E, A>.asks constructor
ReaderTask<E, A>.asks (
- A f(
- E
Extract a value A
given the current dependency E
.
Implementation
factory ReaderTask.asks(A Function(E) f) => ReaderTask(
(env) async => f(env),
);