fix: untangle worker pool/set init from start
[e-mobility-charging-stations-simulator.git] / src / worker / WorkerFixedPool.ts
index 4eafa1d59933395ee0fb5f2c2dddc9f5404aeb00..22290666c17546e1f3c0f461a0cbca39e0841de2 100644 (file)
@@ -41,8 +41,8 @@ export class WorkerFixedPool extends WorkerAbstract<WorkerData> {
   }
 
   /** @inheritDoc */
-  public async start (): Promise<void> {
-    // This is intentional
+  public start (): void {
+    this.pool.start()
   }
 
   /** @inheritDoc */