2.9.0
- Add
-
AsyncPool
Asynchronous pool
Used to ensure that the number of asynchronous executions at the same time does not exceed the limitExample
const pool = new AsyncPool(1000) pool.run(() => fetch('foo/bar'))
-
AsyncPool
Asynchronous pool
Used to ensure that the number of asynchronous executions at the same time does not exceed the limit
Example
const pool = new AsyncPool(1000)
pool.run(() => fetch('foo/bar'))