import { MuxAsyncIterator } from "https://deno.land/std@0.131.0/async/mux_async_iterator.ts";
The MuxAsyncIterator class multiplexes multiple async iterators into a single stream. It currently makes an assumption:
- The final result (the value returned and not yielded from the iterator) does not matter; if there is any, it is discarded.
Methods
private
callIteratorNext(iterator: AsyncIterator<T>)[Symbol.asyncIterator](): AsyncIterator<T>