Use object factory design pattern for code handling workers.
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 24 Jan 2021 23:44:30 +0000 (00:44 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 24 Jan 2021 23:44:30 +0000 (00:44 +0100)
commit6013bc53ce820bacf728a4d85d875c3317ff2442
tree709ff482e2f379e92c96cf0168332982b1ac54e7
parent73705988e2448ac96150bb851fa36d059ee40c17
Use object factory design pattern for code handling workers.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStation.ts
src/charging-station/StationWorker.ts
src/start.ts
src/worker/Worker.ts
src/worker/WorkerFactory.ts [new file with mode: 0644]
src/worker/WorkerGroup.ts [deleted file]
src/worker/WorkerPool.ts
src/worker/WorkerSet.ts [new file with mode: 0644]