import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/environment";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/mapEffect";
/**
 * Accesses the environment of the channel in the context of an effect.
 *
 * @tsplus static ets/Channel/Ops environmentWithEffect
 */

export function environmentWithEffect(f) {
  return tsplus_module_2.mapEffect_(tsplus_module_1.environment(), f);
}
//# sourceMappingURL=environmentWithEffect.mjs.map