"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.accessStream = void 0;
// ets_tracing: off
const chain_1 = require("./chain");
const environment_1 = require("./environment");
/**
 * Accesses the environment of the stream in the context of a stream.
 */
function accessStream(f) {
    return (0, chain_1.chain_)((0, environment_1.environment)(), f);
}
exports.accessStream = accessStream;
//# sourceMappingURL=accessStream.js.map