// tracing: off
import { succeed as effectSucceed } from "../Effect/core"
import { completeWith } from "./completeWith"
/**
 * Completes the promise with the specified value.
 */

export function succeed(a) {
  return (promise) => completeWith(effectSucceed(a))(promise)
}
/**
 * Completes the promise with the specified value.
 */

export function succeed_(promise, a) {
  return completeWith(effectSucceed(a))(promise)
}
//# sourceMappingURL=succeed.js.map
