import * as tsplus_module_1 from "@effect/core/io/Effect/operations/acquireRelease";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/scoped";
/**
 * Creates a stream from a single value that will get cleaned up after the
 * stream is consumed.
 *
 * @tsplus static ets/Stream/Ops acquireRelease
 * @tsplus fluent ets/Stream acquireRelease
 */

export function acquireRelease(acquire, release, __tsplusTrace) {
  return tsplus_module_2.scoped(() => tsplus_module_1.acquireRelease(acquire, release, __tsplusTrace), __tsplusTrace);
}
//# sourceMappingURL=acquireRelease.mjs.map