import * as tsplus_module_1 from "@effect/core/io/Effect/operations/environmentWith";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/fromEffect";
/**
 * Accesses the environment of the stream.
 *
 * @tsplus static ets/Stream/Ops environmentWith
 */

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