"use strict";

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

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

/**
 * Combines two patches to produce a new patch that describes the updates of
 * the first patch and then the updates of the second patch. The combine
 * operation should be associative. In addition, if the combine operation is
 * commutative then joining multiple fibers concurrently will result in
 * deterministic `FiberRef` values.
 *
 * @tsplus fluent ets/FiberRef combine
 */
function combine_(self, first, second) {
  void 0;
  return self._combine(first, second);
}
/**
 * Combines two patches to produce a new patch that describes the updates of
 * the first patch and then the updates of the second patch. The combine
 * operation should be associative. In addition, if the combine operation is
 * commutative then joining multiple fibers concurrently will result in
 * deterministic `FiberRef` values.
 *
 * @tsplus static ets/FiberRef/Aspects combine
 */


const combine = (first, second) => self => combine_(self, first, second);

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