repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix circular array initialization
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Worker.ts
diff --git
a/src/types/Worker.ts
b/src/types/Worker.ts
index 6ec9e9997ca1a17f33daa435eb0b34e43fd8bb02..dde976aea42278d2c3e17c63ec891e9c44849f58 100644
(file)
--- a/
src/types/Worker.ts
+++ b/
src/types/Worker.ts
@@
-6,7
+6,15
@@
export enum WorkerProcessType {
STATIC_POOL = 'staticPool'
}
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;
export interface StationWorkerData extends WorkerData {
index: number;