import * as M from "../_internal/managed";
import { managed } from "./managed";
/**
 * Creates a stream from a single value that will get cleaned up after the
 * stream is consumed
 */

export function bracketExit_(acquire, release) {
  return managed(M.makeExit_(acquire, release));
}
/**
 * Creates a stream from a single value that will get cleaned up after the
 * stream is consumed
 */

export function bracketExit(release) {
  return acquire => bracketExit_(acquire, release);
}
//# sourceMappingURL=bracketExit.js.map