X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2FWorkerConstants.ts;h=12bb70accb53f170137313da6f1abc8d43cd8f68;hb=59b6ed8d1db313ef3371efd8ab5e039cf3dedab0;hp=8e34a165c7fcb0eecb60856e86d487f1483fbe90;hpb=df3b86f788b27176f1a86f8de2141dcc43943752;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerConstants.ts b/src/worker/WorkerConstants.ts index 8e34a165..12bb70ac 100644 --- a/src/worker/WorkerConstants.ts +++ b/src/worker/WorkerConstants.ts @@ -1,4 +1,9 @@ export class WorkerConstants { + public static EMPTY_OBJECT = {}; + public static readonly EMPTY_FUNCTION = Object.freeze(() => { + /* This is intentional */ + }); + static readonly DEFAULT_ELEMENT_START_DELAY = 0; static readonly DEFAULT_WORKER_START_DELAY = 500; static readonly POOL_MAX_INACTIVE_TIME = 60000;