fix: handle properly async performance storage
[e-mobility-charging-stations-simulator.git] / src / utils / index.ts
1 export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'
2 export { AsyncLock, AsyncLockType } from './AsyncLock.js'
3 export {
4 OutputFormat,
5 buildChargingStationAutomaticTransactionGeneratorConfiguration,
6 buildConnectorsStatus,
7 buildEvsesStatus
8 } from './ChargingStationConfigurationUtils.js'
9 export { CircularArray } from './CircularArray.js'
10 export { Configuration } from './Configuration.js'
11 export { Constants } from './Constants.js'
12 export {
13 handleFileException,
14 handleUncaughtException,
15 handleUnhandledRejection,
16 handleSendMessageError,
17 setDefaultErrorParams
18 } from './ErrorUtils.js'
19 export { watchJsonFile } from './FileUtils.js'
20 export {
21 buildPerformanceStatisticsMessage,
22 buildUpdatedMessage,
23 buildStartedMessage,
24 buildStoppedMessage
25 } from './MessageChannelUtils.js'
26 export {
27 isAsyncFunction,
28 JSONStringifyWithMapSupport,
29 clone,
30 convertToBoolean,
31 convertToDate,
32 convertToFloat,
33 convertToInt,
34 exponentialDelay,
35 extractTimeSeriesValues,
36 formatDurationMilliSeconds,
37 formatDurationSeconds,
38 generateUUID,
39 getRandomFloatFluctuatedRounded,
40 getRandomFloatRounded,
41 getRandomInteger,
42 getWebSocketCloseEventStatusString,
43 isArraySorted,
44 isEmptyArray,
45 isEmptyObject,
46 isEmptyString,
47 isNotEmptyArray,
48 isNotEmptyString,
49 isValidDate,
50 logPrefix,
51 max,
52 min,
53 once,
54 roundTo,
55 secureRandom,
56 sleep,
57 validateUUID
58 } from './Utils.js'
59 export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js'
60 export { logger } from './Logger.js'