Spelling
[e-mobility-charging-stations-simulator.git] / src / types / Worker.ts
index 6ec9e9997ca1a17f33daa435eb0b34e43fd8bb02..dde976aea42278d2c3e17c63ec891e9c44849f58 100644 (file)
@@ -6,7 +6,15 @@ export enum WorkerProcessType {
   STATIC_POOL = 'staticPool'
 }
 
-export interface WorkerData { }
+export interface WorkerOptions {
+  startDelay?: number;
+  poolMaxSize?: number;
+  poolMinSize?: number;
+  elementsPerWorker?: number;
+}
+
+// eslint-disable-next-line @typescript-eslint/no-empty-interface
+export interface WorkerData {}
 
 export interface StationWorkerData extends WorkerData {
   index: number;