refactor: move queueing code into its own directory
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 7 Jul 2024 10:33:31 +0000 (12:33 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 7 Jul 2024 10:33:31 +0000 (12:33 +0200)
commitc6dd1aeb73ee5d5dd5bbfa9ebd9c4496a60f1252
treeed787c2a13b1be9d68ac78f915322d2bfaf9edf7
parent7a1c77f62bf4a16d3cd482d479e92e1cd4b1354b
refactor: move queueing code into its own directory

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
14 files changed:
src/index.ts
src/pools/abstract-pool.ts
src/pools/worker-node.ts
src/queues/abstract-fixed-queue.ts [moved from src/abstract-fixed-queue.ts with 98% similarity]
src/queues/fixed-priority-queue.ts [moved from src/fixed-priority-queue.ts with 95% similarity]
src/queues/fixed-queue.ts [moved from src/fixed-queue.ts with 91% similarity]
src/queues/priority-queue.ts [moved from src/priority-queue.ts with 99% similarity]
src/queues/queue-types.ts [new file with mode: 0644]
src/utility-types.ts
tests/pools/abstract-pool.test.mjs
tests/pools/worker-node.test.mjs
tests/queues/fixed-priority-queue.test.mjs [moved from tests/fixed-priority-queue.test.mjs with 97% similarity]
tests/queues/fixed-queue.test.mjs [moved from tests/fixed-queue.test.mjs with 97% similarity]
tests/queues/priority-queue.test.mjs [moved from tests/priority-queue.test.mjs with 98% similarity]