map3<C, D, F> method
ReaderTask<E, F>
map3<C, D, F>(
- covariant ReaderTask<
E, C> mc, - covariant ReaderTask<
E, D> md, - F f(
- A a,
- C c,
- D d
override
Change type of this ReaderTask based on its value of type A
, the
value of type C
of a second ReaderTask, and the value of type D
of a third ReaderTask.
Implementation
@override
ReaderTask<E, F> map3<C, D, F>(
covariant ReaderTask<E, C> mc,
covariant ReaderTask<E, D> md,
F Function(A a, C c, D d) f,
) =>
flatMap(
(a) => mc.flatMap(
(c) => md.map(
(d) => f(a, c, d),
),
),
);