X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2FWorkerTypes.ts;h=cfbe2dacb3b71cb9d6b755eb829468363454da62;hb=ee7c1da0e12c70134f31537a1c1e7040d309af5a;hp=90a4175fdbb97170db6c1c4aa27d75f2433ac3ca;hpb=8cc482a9324a0989516b6eb6db85a16258c4b4d1;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerTypes.ts b/src/worker/WorkerTypes.ts index 90a4175f..cfbe2dac 100644 --- a/src/worker/WorkerTypes.ts +++ b/src/worker/WorkerTypes.ts @@ -6,7 +6,7 @@ export enum WorkerProcessType { workerSet = 'workerSet', /** @experimental */ dynamicPool = 'dynamicPool', - staticPool = 'staticPool', + fixedPool = 'fixedPool', } export interface SetInfo { @@ -19,7 +19,11 @@ export interface SetInfo { } export enum WorkerSetEvents { + started = 'started', + stopped = 'stopped', error = 'error', + elementStarted = 'elementStarted', + elementError = 'elementError', } export const WorkerEvents = { @@ -51,4 +55,6 @@ export interface WorkerMessage { export enum WorkerMessageEvents { startWorkerElement = 'startWorkerElement', + startWorkerElementError = 'startWorkerElementError', + startedWorkerElement = 'startedWorkerElement', }