Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kt3k/mux_async_iterable

Multiplexer of async iterables for JavaScript, written in TypeScript
https://github.com/kt3k/mux_async_iterable

async-iterators deno multiplexer node-js typescript

Last synced: 20 days ago
JSON representation

Multiplexer of async iterables for JavaScript, written in TypeScript

Awesome Lists containing this project

README

        

# mux_async_iterable v1.0.5

> Multiplexer of async iterables for JavaScript

# Usage

Deno:

```ts
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:

```js
import { mux } from "mux-async-iterable";

mux(foo(), bar(), baz()); // => returns merged async iterator of foo(), bar(), and baz()
```

# License

MIT