"use strict"
// tracing: off
Object.defineProperty(exports, "__esModule", { value: true })
exports.succeed_ = exports.succeed = void 0
const core_1 = require("../Effect/core")
const completeWith_1 = require("./completeWith")
/**
 * Completes the promise with the specified value.
 */
function succeed(a) {
  return (promise) => completeWith_1.completeWith(core_1.succeed(a))(promise)
}
exports.succeed = succeed
/**
 * Completes the promise with the specified value.
 */
function succeed_(promise, a) {
  return completeWith_1.completeWith(core_1.succeed(a))(promise)
}
exports.succeed_ = succeed_
//# sourceMappingURL=succeed.js.map
