"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.update = void 0;
// ets_tracing: off
const modify_1 = require("./modify");
/**
 * Atomically modifies the `FiberRef` with the specified function.
 */
function update(f) {
    return (0, modify_1.modify)((v) => [undefined, f(v)]);
}
exports.update = update;
//# sourceMappingURL=update.js.map