import { Provide } from "@effect/core/stream/Channel/definition/primitives";
/**
 * Provides the channel with its required environment, which eliminates its
 * dependency on `Env`.
 *
 * @tsplus fluent ets/Channel provideEnvironment
 */

export function provideEnvironment_(self, env) {
  return new Provide(env, self);
}
/**
 * Provides the channel with its required environment, which eliminates its
 * dependency on `Env`.
 *
 * @tsplus static ets/Channel/Aspects provideEnvironment
 */

export const provideEnvironment = env => self => provideEnvironment_(self, env);
//# sourceMappingURL=provideEnvironment.mjs.map