X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FChargingStationWorker.ts;h=70d960119901d4a63c037c1032c6310d6c2d1b5c;hb=e843aa4048c6bfcad2d8e54763b649eda57dbcb3;hp=8b89750b1a7f23276530ac8132785a60b0111c2c;hpb=6b2f4370c8c7c06fd1b6939134f737cdad24171d;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ChargingStationWorker.ts b/src/charging-station/ChargingStationWorker.ts index 8b89750b..70d96011 100644 --- a/src/charging-station/ChargingStationWorker.ts +++ b/src/charging-station/ChargingStationWorker.ts @@ -13,7 +13,7 @@ import { WorkerConstants, type WorkerMessage, WorkerMessageEvents } from '../wor const moduleName = 'ChargingStationWorker'; /** - * Create and start a charging station instance + * Creates and starts a charging station instance * * @param data - workerData */ @@ -30,7 +30,7 @@ class ChargingStationWorker extends AsyncResource { this.runInAsyncScope( startChargingStation.bind(this) as (data: ChargingStationWorkerData) => void, this, - message.data + message.data, ); } });