Slash-The-Hordes/assets/Scripts/Services/Utils/AsyncUtils.ts
2022-11-08 19:45:57 +01:00

4 lines
121 B
TypeScript

export async function delay(ms: number): Promise<void> {
return new Promise((resolve) => setTimeout(resolve, ms));
}