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
Switch to poolifier worker threads pool implementation.
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Worker.ts
diff --git
a/src/types/Worker.ts
b/src/types/Worker.ts
index bc93d76ea5c0f85514bca82b338605eb7b0675f2..20c4488224f620f68e415426384446fb1239a7ed 100644
(file)
--- a/
src/types/Worker.ts
+++ b/
src/types/Worker.ts
@@
-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;