import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/provideEnvironment";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/environmentWithChannel";
/**
 * Transforms the environment being provided to the channel with the specified
 * function.
 *
 * @tsplus fluent ets/Channel provideSomeEnvironment
 */

export function provideSomeEnvironment_(self, f) {
  return tsplus_module_2.environmentWithChannel(env => tsplus_module_1.provideEnvironment_(self, () => f(env)));
}
/**
 * Transforms the environment being provided to the channel with the specified
 * function.
 *
 * @tsplus static ets/Channel/Aspects provideSomeEnvironment
 */

export const provideSomeEnvironment = f => self => provideSomeEnvironment_(self, f);
//# sourceMappingURL=provideSomeEnvironment.mjs.map