Storage: use worker threads message passing to store performance records from
[e-mobility-charging-stations-simulator.git] / src / worker / WorkerUtils.ts
1 export class WorkerUtils {
2 public static defaultExitHandler = (code: number): void => {
3 if (code !== 0) {
4 console.error(`Worker stopped with exit code ${code}`);
5 }
6 };
7 }