/** * Accesses the environment of the channel in the context of an effect. * * @tsplus static effect/core/stream/Channel.Ops environmentWithEffect */ export function environmentWithEffect( f: (env: Env) => Effect ): Channel { return Channel.environment().mapEffect(f) }