import { STMProvide } from "@effect/core/stm/STM/definition/primitives";
/**
 * Provides some of the environment required to run this effect,
 * leaving the remainder `R0`.
 *
 * @tsplus fluent ets/STM provideSomeEnvironment
 */

export function provideSomeEnvironment_(self, f) {
  return new STMProvide(self, f);
}
/**
 * Provides some of the environment required to run this effect,
 * leaving the remainder `R0`.
 *
 * @tsplus static ets/STM/Aspects provideSomeEnvironment
 */

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