Skip to content

Releases: samrith-s/concurrent-tasks

v0.0.10

16 Dec 21:49
Compare
Choose a tag to compare

👨🏻‍🎤 Change Log

  • Fix bug where adding multiple tasks to tasks.list with existing tasks doesn't update tasks.total properly.

v0.0.9

16 Dec 21:47
Compare
Choose a tag to compare

👨🏻‍🎤 Change Log

  • Fix bug with addMultiple overwriting tasks object completely while updating tasks.list and tasks.total.
  • start now iterates over tasks.list and executes tasks until concurrency limits are fulfilled.

v0.0.8

16 Dec 21:43
Compare
Choose a tag to compare

👨🏻‍🎤 Change Log

  • Removed resetting of tasks.total to 0 on completion of all tasks in tasks.list

v0.0.7

16 Dec 21:41
Compare
Choose a tag to compare

👨🏻‍🎤 Change Log

  • tasks.total is set to 0 if no more tasks present in tasks.list.

v0.0.6

16 Dec 21:37
Compare
Choose a tag to compare

👨🏻‍🎤 Change Log

  • Added setConcurrency method to update concurrency limit while tasks running.

v0.0.5

16 Dec 21:17
Compare
Choose a tag to compare

👨🏻‍🎤 Change Log

  • Default exported class name changed from ConcurrentTasks to TaskRunner.
  • __working flag is set to false appropriately on change of state from busy to idle.
  • Properly check and execute onStart only if it is a function and ignore otherwise.

v0.0.4

16 Dec 21:04
Compare
Choose a tag to compare

The live examples are hosted on GitHub pages.

👨🏻‍🎤 Change Log

  • Each instance of ConcurrentTask has a unique name attribute.
  • Name attribute is customisable during
  • ConcurrentTask has a static runnerCount value, which maintains a count of instances.

v0.0.3

16 Dec 20:45
Compare
Choose a tag to compare

👨🏻‍🎤 Change Log

  • add and addMultiple require a function or an array of functions respectively.
  • add and addMultiple throw appropriate TypeErrors if the arguments don't meet the criteria.
  • addMultiple now adds to the task list, rather than directly replacing it.
  • Proper log utility, along with a map of log statements, added for better debugging.

v0.0.2

16 Dec 18:51
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release

🎉 The first public release of Concurrent Tasks. It implements the basic priority queue with some helper methods.