mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
3 lines
No EOL
113 B
TypeScript
3 lines
No EOL
113 B
TypeScript
export async function asleep(ms: number): Promise<void> {
|
|
return await new Promise(r => setTimeout(r, ms));
|
|
} |