A simple queue for executing promises concurrently. You can set timeouts, max concurrency as well as retry
🏠 Homepage
npm i asyncrify
import Queue from 'asyncrify'
const queue = new Queue()
queue.add(() => new Promise((resolve) => setTimeout(resolve, 200)), (res, err) => {
//handle err or result
})
npm run test
👤 Benjamin Swanepoel
- Twitter: @superbrobenji
- Github: @superbrobenji
- LinkedIn: @benjamin-swanepoel
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2024 benjamin swanepoel.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator