feat: use priority queue for task queueing
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 29 Apr 2024 18:01:23 +0000 (20:01 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 29 Apr 2024 18:01:23 +0000 (20:01 +0200)
commit95d1a734d57942c892202df7c0fcaf2fb5ab89ab
tree6405668436f210dbf0f6a754968d756d2a0aaf10
parent54aa8d5a576b22bfdbebea90021502035a5e1c8c
feat: use priority queue for task queueing

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/deque.ts [deleted file]
src/index.ts
src/pools/abstract-pool.ts
src/pools/worker-node.ts
src/pools/worker.ts
src/priority-queue.ts
src/utility-types.ts
tests/deque.test.mjs [deleted file]
tests/pools/abstract-pool.test.mjs
tests/pools/worker-node.test.mjs
tests/priority-queue.test.mjs