"use strict";

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

var _primitives = /*#__PURE__*/require("@effect/core/stm/STM/definition/primitives");

/**
 * Abort and retry the whole transaction when any of the underlying
 * transactional variables have changed.
 *
 * @tsplus static ets/STM/Ops retry
 */
const retry = /*#__PURE__*/new _primitives.STMEffect(() => {
  throw new _primitives.STMRetryException();
});
exports.retry = retry;
//# sourceMappingURL=retry.js.map