sindresorhus / p-limit

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

feat: ios 11 no support optional-catch-binding #55

Closed asins closed 3 years ago

asins commented 3 years ago

try{} catch {} syntax needs to be supported after es2019, see more.

I don’t want to introduce the babel library because of the way catch is used, so I hope p-limit can be changed back to compatible writing.

sindresorhus commented 3 years ago

Duplicate of #33