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