https://github.com/reynhout/chrx
chrx -L "en_GB.UTF-8" -Z "Europe/London" -U dave
https://github.com/reynhout/chrx
chrx -L "en_GB.UTF-8" -Z "Europe/London" -U dave
export class TimeoutError extends Error { | |
constructor(message: string) { | |
super(message); | |
this.name = "TimeoutError"; | |
} | |
} | |
export const promiseWithTimeout = <T>({ | |
ms, | |
promise, |