DDRCompanion/lib/utils.ts
2024-05-15 17:29:17 -05:00

5 lines
124 B
TypeScript

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