refactor: cleanup direct access to worker id
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 27 Aug 2023 17:24:39 +0000 (19:24 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 27 Aug 2023 17:24:39 +0000 (19:24 +0200)
commit75de9f41ce00bec38febd6d82653d3d82f1bb884
tree1b0aa6ba57280f4c3de9bf56064671f7d4a36fc5
parent213cbac68fa2edc0187b1f02b23532d6eedd5c74
refactor: cleanup direct access to worker id

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/abstract-pool.ts
src/pools/cluster/fixed.ts
src/pools/thread/fixed.ts
src/pools/worker-node.ts
src/utils.ts
tests/pools/abstract/worker-node.test.js