Slash-The-Hordes/assets/Scripts/Services/Utils/AsyncUtils.ts

4 lines
121 B
TypeScript
Raw Normal View History

2022-11-08 18:45:57 +00:00
export async function delay(ms: number): Promise<void> {
return new Promise((resolve) => setTimeout(resolve, ms));
}