import { STMEffect } from "@effect/core/stm/STM/definition/primitives" /** * Retrieves the environment inside an `STM`. * * @tsplus static effect/core/stm/STM.Ops environment */ export function environment(): STM> { return new STMEffect((_, __, env: Env) => env) }