UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

12 lines (9 loc) 276 B
// ets_tracing: off import * as T from "../../Effect/environment.js" import { fromEffect } from "../fromEffect.js" /** * Accesses the whole environment of the effect. */ export function environment<R>(__trace?: string) { return fromEffect(T.environment<R>(), __trace) }