1.1.2 • Published 8 months ago

asyncrify v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 months ago

A simple queue for executing promises concurrently. You can set timeouts, max concurrency as well as retry

šŸ  Homepage

Install

npm i asyncrify

Usage

import Queue from 'asyncrify'
const queue = new Queue()
queue.add(() => new Promise(
  (resolve) => setTimeout(resolve, 200)),
  (res) => {
    //handle result
  },
  (err) => {
    //handle err
  })

Run tests

npm run test

author

šŸ‘¤ Benjamin Swanepoel

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ā­ļø if this project helped you!

šŸ“ License

Copyright Ā© 2024 benjamin swanepoel. This project is MIT licensed.


This README was generated with ā¤ļø by readme-md-generator

1.0.2

8 months ago

1.1.0

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago

1.1.2

8 months ago

1.0.3

8 months ago

0.1.12

8 months ago

0.1.14

8 months ago

0.1.15

8 months ago

0.1.16

8 months ago

0.2.9

8 months ago

0.2.8

8 months ago

0.1.19

8 months ago

0.1.9

8 months ago

0.1.8

8 months ago

0.1.7

8 months ago

0.0.2

9 years ago

0.0.1

9 years ago