sindresorhus / p-limit

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

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

Closed ghost12137 closed 4 months ago

ghost12137 commented 4 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