Encapsulate logic of cluster and thread worker/pool (#116)
authorShinigami <chrissi92@hotmail.de>
Fri, 12 Feb 2021 07:17:48 +0000 (08:17 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Feb 2021 07:17:48 +0000 (08:17 +0100)
commitc97c7edb14ea0699cd82bce5d0ffe50ae26af667
tree00185de5a7d138d3204c4884394223ab740a374a
parent660940b0fcdbafb80d3c01684b668f55980bfa67
Encapsulate logic of cluster and thread worker/pool (#116)

Co-authored-by: aardizio <alessandroardizio94@gmail.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
12 files changed:
.vscode/launch.json
package-lock.json
src/index.ts
src/pools/abstract-pool.ts [new file with mode: 0644]
src/pools/cluster/dynamic.ts
src/pools/cluster/fixed.ts
src/pools/pool.ts [new file with mode: 0644]
src/pools/thread/dynamic.ts
src/pools/thread/fixed.ts
src/worker/abstract-worker.ts [new file with mode: 0644]
src/worker/cluster-worker.ts
src/worker/thread-worker.ts