Extract selection strategies to classes (#176)
authorShinigami <chrissi92@hotmail.de>
Sun, 21 Feb 2021 14:01:33 +0000 (15:01 +0100)
committerGitHub <noreply@github.com>
Sun, 21 Feb 2021 14:01:33 +0000 (15:01 +0100)
commita35560bac09e829e1e19f88f8fd1d71a64c9d50b
tree1bf473f02ce427231207712475c57a135b57dc25
parent934f09c6fe1a3e6e36ba76f9a8e9320311a7636f
Extract selection strategies to classes (#176)

Co-authored-by: Shinigami92 <chrissi92@hotmail.de>
Co-authored-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
19 files changed:
.eslintrc.js
.vscode/settings.json
package-lock.json
src/index.ts
src/pools/abstract-pool.ts
src/pools/cluster/dynamic.ts
src/pools/cluster/fixed.ts
src/pools/pool-internal.ts [new file with mode: 0644]
src/pools/pool.ts
src/pools/selection-strategies.ts [new file with mode: 0644]
src/pools/thread/dynamic.ts
src/pools/thread/fixed.ts
src/worker/abstract-worker.ts
tests/pools/abstract/abstract-pool.test.js
tests/pools/cluster/dynamic.test.js
tests/pools/cluster/fixed.test.js
tests/pools/selection-strategies.test.js [new file with mode: 0644]
tests/pools/thread/dynamic.test.js
tests/pools/thread/fixed.test.js