import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/environment";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/map";
/**
 * Accesses the environment of the channel.
 *
 * @tsplus static ets/Channel/Ops environmentWith
 */

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