reader_task library
Support for doing something awesome.
More dartdocs go here.
Functions
-
apFirst<
ENV, B> (ReaderTask< ENV, B> rt1) → ReaderTask<ENV, A> Function<A>(ReaderTask< ENV, A> ) -
apSecond<
ENV, B> (ReaderTask< ENV, B> rt1) → ReaderTask<ENV, B> Function<A>(ReaderTask< ENV, A> ) -
ask<
ENV> () → ReaderTask< ENV, ENV> -
asks<
ENV1, ENV2> (ENV2 f(ENV1)) → ReaderTask< ENV1, ENV2> -
bracket<
ENV, A, B> ({required ReaderTask< ENV, void> release(A), required ReaderTask<ENV, B> use(A)}) → ReaderTask<ENV, B> Function(ReaderTask<ENV, A> ) -
flatMap<
ENV, A, B> (ReaderTask< ENV, B> f(A)) → ReaderTask<ENV, B> Function(ReaderTask<ENV, A> ) -
flatMapTask<
A, B> (Task< B> f(A)) → ReaderTask<ENV, B> Function<ENV>(ReaderTask< ENV, A> ) -
fromReaderIO<
ENV, A> (ReaderIO< ENV, A> rio) → ReaderTask<ENV, A> -
local<
ENV1, ENV2> (ENV1 f(ENV2)) → ReaderTask< ENV2, A> Function<A>(ReaderTask< ENV1, A> ) -
make<
ENV> () → ReaderTask< ENV, void> -
map<
A, B> (B f(A)) → ReaderTask< ENV, B> Function<ENV>(ReaderTask< ENV, A> ) -
sequenceArray<
ENV, A> (Iterable< ReaderTask< arr) → ReaderTask<ENV, A> >ENV, Iterable< A> >
Typedefs
-
ReaderTask<
ENV, A> = Reader< ENV, Task< A> >