sindresorhus / p-limit

Run multiple promise-returning & async functions with limited concurrency
MIT License
1.84k stars 99 forks source link

How do you recover your p-limit count when all the promises inside the limiting function have errored? #77

Closed kanjieater closed 7 months ago

kanjieater commented 7 months ago

Is there any update on how to recover when the promises that error inside of p-limit get stuck? EDIT: I was running into a different issue where WSL was freezing, and thought it was because plimit was locking. Sorry for the trouble.

sindresorhus commented 7 months ago

pLimit propagates errors, so an error would cause it to stop.