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

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