import { IFiberRefModify } from "../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`.
 *
 * @ets_data_first modify_
 */

export function modify(f) {
  return fiberRef => new IFiberRefModify(fiberRef, f);
}
/**
 * Atomically modifies the `FiberRef` with the specified function, which computes
 * a return value for the modification. This is a more powerful version of
 * `update`.
 */

export function modify_(fiberRef, f) {
  return new IFiberRefModify(fiberRef, f);
}
//# sourceMappingURL=modify.js.map