Skip to content

Releases: StatelessStudio/ts-task-queue

v2.0.0

01 Mar 23:13
8e3ae6a

Choose a tag to compare

Breaking Changes

  • push() and await() now take a Task object

Before:

queue.push(5);
queue.await(5);

After:

queue.push({ data: 5, ... });
queue.await({ data: 5, ... });

Features

  • #2 Overridable persistence layer
  • #3 Max-attempts option
  • #4 Schedule (scheduleAt, expiresAt) options
  • #6 Set polling rate (still defaults to 250ms)

Fixes

  • #5 Dispatching should only start if build pool is successful

[1.0.0]

05 Oct 18:55
60e9a1e

Choose a tag to compare

Initial Release