import * as tsplus_module_1 from "@effect/core/stream/Stream/operations/runIntoQueueScoped";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/scoped";
/**
 * Enqueues elements of this stream into a queue. Stream failure and ending
 * will also be signalled.
 *
 * @tsplus fluent ets/Stream runIntoQueue
 */

export function runIntoQueue_(self, queue, __tsplusTrace) {
  return tsplus_module_2.scoped(() => tsplus_module_1.runIntoQueueScoped_(self, queue, __tsplusTrace), __tsplusTrace);
}
/**
 * Enqueues elements of this stream into a queue. Stream failure and ending
 * will also be signalled.
 *
 * @tsplus static ets/Stream/Aspects runIntoQueue
 */

export const runIntoQueue = (queue, __tsplusTrace) => self => runIntoQueue_(self, queue, __tsplusTrace);
//# sourceMappingURL=runIntoQueue.mjs.map