4.1.1 • Published 2 years ago

queue-system v4.1.1

Weekly downloads
78
License
MIT
Repository
github
Last release
2 years ago

queue-system

Powerful yet simple JavaScript/TypeScript tasks queuing system.

Features

  • 🛠️ full TypeScript support
  • 1️⃣ run tasks one by one or many of them at the same time with defined concurrency
  • 🏎️ change concurrency as you need, pause and unpause the queue
  • ➕ insert task at any position in the queue, put important tasks first or...
  • 💪 ...force start additional task
  • 🛑 cancel tasks, even running ones
  • 👀 events support to monitor your queue
  • 👶 simple API
  • ✔️ fully unit tested

Documentation

See here: https://dzek69.github.io/queue-system

To be done / roadmap

Soon

  • option to cancel ongoing tasks on destroy
  • task itself should have queue position event to listen on

Later

  • add "is finished" method to task (successfully resolved)
  • distinguish tasks status between "is requested to cancel" and "is cancelled" (not doing anything anymore)

Even later

  • (internal) code cleanup?

Far future

  • retries support? move to end of the queue before retry? do nothing until retry timeout passes?

License

MIT

4.1.1

2 years ago

4.1.0

3 years ago

4.0.0

3 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.0

5 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago