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
Improve vscode debug setup.
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Worker.ts
diff --git
a/src/types/Worker.ts
b/src/types/Worker.ts
index 6ec9e9997ca1a17f33daa435eb0b34e43fd8bb02..bc2972684c0cb2677f34176ffbd11b119392d423 100644
(file)
--- a/
src/types/Worker.ts
+++ b/
src/types/Worker.ts
@@
-6,6
+6,12
@@
export enum WorkerProcessType {
STATIC_POOL = 'staticPool'
}
+export interface WorkerOptions {
+ poolMaxSize?: number;
+ poolMinSize?: number;
+ elementsPerWorker?: number;
+}
+
export interface WorkerData { }
export interface StationWorkerData extends WorkerData {