Reader
Reader<
R,A> = (env) =>A
Defined in: Core/Reader.ts:26
A computation that reads from a shared environment R and produces a value A.
Use Reader to thread a dependency (config, logger, DB pool) through a pipeline
without passing it explicitly to every function.
Type Parameters
Section titled “Type Parameters”R
A
Parameters
Section titled “Parameters”R
Returns
Section titled “Returns”A