"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.diff = void 0;
exports.diff_ = diff_;

var _FiberRefInternal = /*#__PURE__*/require("@effect/core/io/FiberRef/operations/_internal/FiberRefInternal");

/**
 * Constructs a patch describing the updates to a value from an old value and
 * a new value.
 *
 * @tsplus fluent ets/FiberRef diff
 */
function diff_(self, oldValue, newValue) {
  void 0;
  return self._diff(oldValue, newValue);
}
/**
 * Constructs a patch describing the updates to a value from an old value and
 * a new value.
 *
 * @tsplus static ets/FiberRef/Aspects diff
 */


const diff = (oldValue, newValue) => self => diff_(self, oldValue, newValue);

exports.diff = diff;
//# sourceMappingURL=diff.js.map