// tracing: off
import { fromEffect } from "../Managed/fromEffect"
import { makeExit_ } from "../Managed/makeExit"
/**
 * Converts this Effect to a Managed. This Effect and the provided release action
 * will be performed uninterruptibly.
 */

export function toManaged(self) {
  return fromEffect(self)
}
/**
 * Converts this Effect to a Managed. This Effect and the provided release action
 * will be performed uninterruptibly.
 */

export function toManagedRelease_(self, release) {
  return makeExit_(self, release)
}
/**
 * Converts this Effect to a Managed. This Effect and the provided release action
 * will be performed uninterruptibly.
 *
 * @dataFirst toManagedRelease_
 */

export function toManagedRelease(release) {
  return (self) => makeExit_(self, release)
}
//# sourceMappingURL=toManaged.js.map
