X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2FWorkerAbstract.ts;h=3dd9a782a8661507f61fa21787ed9f80c9465852;hb=4597fdc580a3a20384ecef821fe781a1099d733f;hp=f677794883822ef2f4b2c1f075c793ae90612af0;hpb=268a74bb051fcbbad532fd833f0d8fd2b33b6c64;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerAbstract.ts b/src/worker/WorkerAbstract.ts index f6777948..3dd9a782 100644 --- a/src/worker/WorkerAbstract.ts +++ b/src/worker/WorkerAbstract.ts @@ -24,9 +24,7 @@ export abstract class WorkerAbstract { poolMaxSize: WorkerConstants.DEFAULT_POOL_MAX_SIZE, elementsPerWorker: WorkerConstants.DEFAULT_ELEMENTS_PER_WORKER, poolOptions: {}, - messageHandler: () => { - /* This is intentional */ - }, + messageHandler: WorkerConstants.EMPTY_FUNCTION, } ) { if (!workerScript) {