@xazzzi/gg
v0.1.1
Published
Tiny zero-dependency concurrent primitives for modern JavaScript/TypeScript
Maintainers
Readme
Tiny zero-dependency concurrent primitives for modern JavaScript/TypeScript
Based on modern APIs and rigorously tested for 100% coverage, including mutation testing via Stryker.
- Minified: 12 kB
- Minified + Gzipped: 4 kB
See comparison to other libraries out there.
Channel
An MPMC (Multi-Producer, Multi-Consumer) Async Iterable stream primitive featuring strict memory safety, backpressure (asend), and configurable backlog policies.
Pipe
A utility to connect sources to a Channel. The pipe supports lazy start, backpressure, and multiple source tracking.
Select
A reactive multiplexer that tracks multiple async sources (Promises, Iterables) within a single unified Proxy shape, emitting synchronized state snapshots as sources resolve or yield.
