1
2
3
export const sleep = async (ms: number) => {
await new Promise((r) => setTimeout(r, ms));
};