Switch to poolifier worker threads pool implementation.
[e-mobility-charging-stations-simulator.git] / src / types / Worker.ts
index bc93d76ea5c0f85514bca82b338605eb7b0675f2..20c4488224f620f68e415426384446fb1239a7ed 100644 (file)
@@ -1,5 +1,11 @@
 import { Worker } from 'worker_threads';
 
+export enum WorkerProcessType {
+  WORKER_SET = 'workerSet',
+  DYNAMIC_POOL = 'dynamicPool',
+  STATIC_POOL = 'staticPool'
+}
+
 // FIXME: make it more generic
 export interface WorkerData {
   index: number;