BroadcastChannelResponsePayload,
MessageEvent,
} from '../types/WorkerBroadcastChannel';
BroadcastChannelResponsePayload,
MessageEvent,
} from '../types/WorkerBroadcastChannel';
import logger from '../utils/Logger';
import type ChargingStation from './ChargingStation';
import WorkerBroadcastChannel from './WorkerBroadcastChannel';
import logger from '../utils/Logger';
import type ChargingStation from './ChargingStation';
import WorkerBroadcastChannel from './WorkerBroadcastChannel';
try {
commandResponse = await this.commandHandler(command, requestPayload);
if (commandResponse === undefined) {
try {
commandResponse = await this.commandHandler(command, requestPayload);
if (commandResponse === undefined) {