1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-23 07:04:22 +00:00
festa/utils/asleep.ts

3 lines
98 B
TypeScript
Raw Normal View History

2022-07-17 00:30:26 +00:00
export async function asleep(ms: number) {
return await new Promise(r => setTimeout(r, ms));
}