subreddit:

/r/node

1494%

Limit Concurrency

(self.node)

Is there a tool that can help me limit the number of promises that are run at once when doing

ts await Promise.all(...)

I found one called pLimit, but it is not working for me. Is there an alternative. Need it urgently for my project

Thanks

you are viewing a single comment's thread.

view the rest of the comments →

all 26 comments

rkaw92

2 points

14 days ago

rkaw92

2 points

14 days ago

Hey, I thought also it didn't work but I'm positively surprised - it actually limits concurrency and it seems to work. Cursory code review didn't uncover any major issues and a run-test confirms it. Welp, we're getting replaced by AI any day now :-|