throat
channel
throat | channel | |
---|---|---|
2 | 1 | |
483 | 66 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | 10 months ago | |
JavaScript | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
throat
-
Run a certain amount of concurrent functions without exceeding memory limits - Webscraper
I built throat (one of my most popular libraries) to solve exactly this problem of limiting concurrency. I donβt have enough info here to offer any advice on potential memory leaks or race conditions though.
- How to execute at most N concurrent tasks without external dependencies
channel
-
Show HN: Ts-Chan β Go-Like Concurrency Primitives for TypeScript/JavaScript
I think I prefer its more concise API, e.g. [for select](https://github.com/NodeGuy/channel/blob/main/API.md#examples). ts-chan's API looks a bit too verbose to my taste.
Here's an example from ts-chan:
```
What are some alternatives?
rDrama - moved to https://fsdfsd.net/rDrama/rDrama
generator-ticker - An ES6 generator similar to setInterval that adjusts for slow receivers.
p-map - Map over promises concurrently
nanothreads - A tiny multi-threading & concurrency library, for Node.js and the browser
saidit - The reddit open source fork powering SaidIt
ts-chan - Concurrency primitives for TypeScript and JavaScript.
axios - Promise based HTTP client for the browser and node.js [Moved to: https://github.com/axios/axios]
contextlib - JS implementation of python's context managers. With π { ... }
Lemmy - π A link aggregator and forum for the fediverse
sporadic - Composable Concurrency Abstractions for JavaScript. :railway_track: :rhinoceros: :train: :vertical_traffic_light: