"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.accessM = void 0
const environment_1 = require("./environment")
const mapM_1 = require("./mapM")
/**
 * Accesses the environment of the stream in the context of an effect.
 */
function accessM(f) {
  return (0, mapM_1.mapM_)((0, environment_1.environment)(), f)
}
exports.accessM = accessM
//# sourceMappingURL=accessM.js.map
