import * as tracing_1 from "../../Tracing"
import * as tracing_2 from "../../Tracing"
const fileName_1 = "(@effect-ts/system): _src/Managed/methods/makeSucceedWith.ts"
import { make_ } from "../core"
import { succeedWith } from "../deps-core"
/**
 * Lifts a synchronous effect that does not throw exceptions into a
 * `Managed<unknown, never, A>` with a release action. The acquire and
 * release actions will be performed uninterruptibly.
 */

export function makeSucceedWith(acquire, release, __trace) {
  return make_(
    succeedWith(acquire, __trace),
    (a) => succeedWith(() => release(a), __trace),
    fileName_1 + ":15:15"
  )
}
//# sourceMappingURL=makeSucceedWith.js.map
