Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kt3k/mux_async_iterable
- Owner: kt3k
- License: mit
- Created: 2020-02-01T17:31:23.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-22T08:38:56.000Z (12 months ago)
- Last Synced: 2024-05-22T19:20:42.767Z (6 months ago)
- Topics: async-iterators, deno, multiplexer, node-js, typescript
- Language: TypeScript
- Homepage: https://deno.land/x/mux_async_iterable
- Size: 857 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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