std/async/mux_async_iterator.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.112.0/async/mux_async_iterator.ts?code";

Classes

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.