diff --git a/utils/asleep.ts b/utils/asleep.ts new file mode 100644 index 0000000..8b159de --- /dev/null +++ b/utils/asleep.ts @@ -0,0 +1,3 @@ +export async function asleep(ms: number) { + return await new Promise(r => setTimeout(r, ms)); +} \ No newline at end of file