import * as Q from "../../../../Queue";
import * as Ensuring from "./ensuring";
import * as FromChunkQueue from "./fromChunkQueue";
/**
 * Creates a stream from a queue of values. The queue will be shutdown once the stream is closed.
 */

export function fromChunkQueueWithShutdown(queue) {
  return Ensuring.ensuring_(FromChunkQueue.fromChunkQueue(queue), Q.shutdown(queue));
}
//# sourceMappingURL=fromChunkQueueWithShutdown.js.map