import { MuxAsyncIterator } from "https://dotland.deno.dev/x/servest@v1.3.4/vendor/https/deno.land/std/async/mod.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>