Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
/ mux_async_iterable Public archive

Multiplexer of async iterables for JavaScript, written in TypeScript

License

Notifications You must be signed in to change notification settings

kt3k/mux_async_iterable

Repository files navigation

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