// ets_tracing: off
import { pipe } from "../../Function";
import * as Q from "../../Queue";
import * as T from "../_internal/effect";
import * as M from "../_internal/managed";
import { intoManaged_ } from "./intoManaged";
export function toQueueUnbounded(stream) {
  return M.tap_(T.toManagedRelease_(Q.makeUnbounded(), Q.shutdown), queue => M.fork(intoManaged_(stream, queue)));
}
//# sourceMappingURL=toQueueUnbounded.js.map