"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.die = void 0
// tracing: off
const die_1 = require("../Effect/die")
const completeWith_1 = require("./completeWith")
/**
 * Kills the promise with the specified error, which will be propagated to all
 * fibers waiting on the value of the promise.
 */
function die(e) {
  return (promise) => (0, completeWith_1.completeWith)((0, die_1.die)(e))(promise)
}
exports.die = die
//# sourceMappingURL=die.js.map
