Cleanup logic code flow.
[e-mobility-charging-stations-simulator.git] / src / utils / Utils.ts
index 8ea05765f5c3e530329814d81bcdfd0310b800d4..02164b1d3be956ec4edb9e1a537d624ba7b725bf 100644 (file)
@@ -215,4 +215,8 @@ export default class Utils {
   static workerPoolInUse(): boolean {
     return Configuration.getWorkerProcess() === WorkerProcessType.DYNAMIC_POOL || Configuration.getWorkerProcess() === WorkerProcessType.STATIC_POOL;
   }
+
+  static workerDynamicPoolInUse(): boolean {
+    return Configuration.getWorkerProcess() === WorkerProcessType.DYNAMIC_POOL;
+  }
 }