perf(simulator): use content addressable cache for idtag distribution
[e-mobility-charging-stations-simulator.git] / src / worker / WorkerConstants.ts
index 1e2e8cdcb2227a2117695d5261928f8dceedab8f..72d436d439f444416524d4bc5245b26fb19ed01a 100644 (file)
@@ -1,4 +1,8 @@
-export default class WorkerConstants {
+export class WorkerConstants {
+  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;