"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.modify = void 0;
const primitives_1 = require("../Effect/primitives");
/**
 * Atomically modifies the `FiberRef` with the specified function, which computes
 * a return value for the modification. This is a more powerful version of
 * `update`.
 */
function modify(f) {
    return (fiberRef) => new primitives_1.IFiberRefModify(fiberRef, f);
}
exports.modify = modify;
//# sourceMappingURL=modify.js.map