import * as tsplus_module_1 from "@effect/core/stm/STM/operations/interruptAs";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/fiberId";
import * as tsplus_module_3 from "@effect/core/stm/STM/operations/flatMap";
/**
 * Interrupts the fiber running the effect.
 *
 * @tsplus static ets/STM/Ops interrupt
 */

export const interrupt = /*#__PURE__*/tsplus_module_3.flatMap_(tsplus_module_2.fiberId, fiberId => tsplus_module_1.interruptAs(() => fiberId));
//# sourceMappingURL=interrupt.mjs.map