Skip to main content
Deno 2 is finally here 🎉️
Learn more

mux_async_iterable v1.0.5

Multiplexer of async iterables for JavaScript

Usage

Deno:

import { mux } from "https://deno.land/x/mux_async_iterable@v1.0.5/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()

License

MIT