/** * Accesses the environment of the stream. * * @tsplus static effect/core/stream/Stream.Ops environmentWith */ export function environmentWith( f: (env: Env) => A ): Stream { return Stream.fromEffect(Effect.environmentWith(f)) }