/** * Enqueues elements of this stream into a queue. Stream failure and ending * will also be signalled. * * @tsplus static effect/core/stream/Stream.Aspects runIntoQueue * @tsplus pipeable effect/core/stream/Stream runIntoQueue */ export function runIntoQueue(queue: Enqueue>) { return (self: Stream): Effect => Effect.scoped(self.runIntoQueueScoped(queue)) }