Skip to content

Releases: fent/timequeue.js

v4.0.0

03 Apr 05:08
c12b027
Compare
Choose a tag to compare

4.0.0 (2022-04-03)

Code Refactoring

  • refactor Store to more friendly types (51f0279)
  • use es6 exports (30feaf6)

BREAKING CHANGES

  • rename Store#getQueued() -> Store#getQueueLen()
  • remove Store#isEmpty()
  • fix return type of Store#pushTask() to Promise<void>

v3.0.1

17 Jan 21:37
5a0dd89
Compare
Choose a tag to compare

3.0.1 (2022-01-17)

Bug Fixes

  • fix infinite loop when overwriting push function from child class (e256df4)

v3.0.0

09 Jan 12:05
c897f56
Compare
Choose a tag to compare

Features

  • able to add custom stores for queue (3f0183e), closes #21

BREAKING CHANGES:

  • TimeQueue#queued moved to async TimeQueued#store.getQueued()
  • Since managing the queue is now async, some properties such as
    active and intransitmay not update in the same event loop
    even when using the default memory store.

v2.0.2

31 Dec 09:46
Compare
Choose a tag to compare

Bug Fixes

  • avoid stack overflow on child classes that overwrite TimeQueue#push (5595d24)

v2.0.1

31 Dec 08:49
Compare
Choose a tag to compare
chore(release): 2.0.1

v2.0.0

28 Sep 19:56
Compare
Choose a tag to compare

Features

  • allow worker to be an async function (0eaa534)
  • let TimeQueue#push() return a promise when no callback is given (50c3f17)

BREAKING CHANGES

  • error event no longer emitted when a callback isn't
    given to push(). Instead, push() will return a promise that can
    reject.

v1.2.0

24 Feb 22:50
Compare
Choose a tag to compare

Code Refactoring

  • use es6 arrow functions, const, let (dd173f1)

Features

BREAKING CHANGES

  • const and let not supported on node < 6