sindresorhus / p-limit

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

V5.0.0's can't run because Cannot read properties of undefined (reading 'bind') #81

Closed ghost12137 closed 6 months ago

ghost12137 commented 6 months ago

The run function of index.js cannot use arrow functions, otherwise it will report an error that there is no bind method

1