@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
10 lines (9 loc) • 314 B
JavaScript
import * as Environment from "./environment.mjs";
import * as MapEffect from "./mapEffect.mjs";
/**
* Accesses the environment of the stream in the context of an effect.
*/
export function accessEffect(f) {
return MapEffect.mapEffect_(Environment.environment(), f);
}
//# sourceMappingURL=accessEffect.mjs.map