chainFirst<B> method
Implementation
@override
ReaderTask<E, A> chainFirst<B>(
covariant ReaderTask<E, B> Function(A a) chain,
) =>
flatMap(
(a) => chain(a).map((b) => a),
);
@override
ReaderTask<E, A> chainFirst<B>(
covariant ReaderTask<E, B> Function(A a) chain,
) =>
flatMap(
(a) => chain(a).map((b) => a),
);