Multiplexer of async iterables for JavaScript
Deno:
import { mux } from "https://deno.land/x/[email protected]/mod.ts";
mux(foo(), bar(), baz()); // => returns merged async iterator of foo(), bar(), and baz()
Node:
import { mux } from "mux-async-iterable";
mux(foo(), bar(), baz()); // => returns merged async iterator of foo(), bar(), and baz()
MIT