1.1.2 • Published 9 months ago

asyncrify v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 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

9 months ago

1.1.0

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

1.1.2

9 months ago

1.0.3

9 months ago

0.1.12

10 months ago

0.1.14

10 months ago

0.1.15

10 months ago

0.1.16

10 months ago

0.2.9

10 months ago

0.2.8

10 months ago

0.1.19

10 months ago

0.1.9

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.0.2

9 years ago

0.0.1

9 years ago