sindresorhus/p-queue
View on GitHub ↗ ★ 4,306 TypeScript
Promise queue with concurrency control
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2019-09-25 · latest 2020-04-02
20082026
-
…all waiters in case of an error, you can do that. Take a look at sindresorhus' p-queue project - https://github.com/sindresorhus/p-queue - which is about 40 lines of code that take care of queueing exactly the way you want. And it's easy…
comment by wayneftw · 2019-09-25 · in V8 adds support for top-level await -
…for that (e.g. async[0], p-queue[1], etc.). [0] https://caolan.github.io/async/v3/docs.html [1] https://github.com/sindresorhus/p-queue
comment by olalonde · 2019-09-25 · in V8 adds support for top-level await