"use strict";

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

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

/**
 * Kills the fiber running the effect.
 *
 * @tsplus static ets/STM/Ops dieNow
 */
function dieNow(u) {
  return new _primitives.STMEffect(() => {
    throw new _primitives.STMDieException(u);
  });
}
//# sourceMappingURL=dieNow.js.map