"use strict"
// tracing: off
Object.defineProperty(exports, "__esModule", { value: true })
exports.done = void 0
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) => completeWith_1.completeWith(done_1.done(e))(promise)
}
exports.done = done
//# sourceMappingURL=done.js.map
