+import { parentPort } from 'worker_threads';
+
import type { JSONSchemaType } from 'ajv';
import Ajv from 'ajv-draft-04';
import ajvFormats from 'ajv-formats';
import logger from '../../utils/Logger';
import Utils from '../../utils/Utils';
import type ChargingStation from '../ChargingStation';
+import { MessageChannelUtils } from '../MessageChannelUtils';
import type OCPPResponseService from './OCPPResponseService';
import { OCPPServiceUtils } from './OCPPServiceUtils';
reject(error);
} finally {
chargingStation.requests.delete(messageId);
+ // parentPort.postMessage(MessageChannelUtils.buildUpdatedMessage(chargingStation));
}
}
error
);
chargingStation.requests.delete(messageId);
+ // parentPort.postMessage(MessageChannelUtils.buildUpdatedMessage(chargingStation));
reject(error);
}
}),