import chalk from 'chalk';
-import { ChargingStationUtils } from './ChargingStationUtils';
+import { waitForChargingStationEvents } from './ChargingStationUtils';
import type { AbstractUIServer } from './ui-server/AbstractUIServer';
import { UIServerFactory } from './ui-server/UIServerFactory';
import { version } from '../../package.json' assert { type: 'json' };
)
);
await Promise.race([
- ChargingStationUtils.waitForChargingStationEvents(
+ waitForChargingStationEvents(
this,
ChargingStationWorkerMessageEvents.stopped,
this.numberOfChargingStations