sindresorhus / p-limit

Run multiple promise-returning & async functions with limited concurrency
MIT License
2.04k stars 106 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 11 months ago

kanjieater commented 11 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 11 months ago

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