DDRCompanion/lib/utils.ts

6 lines
124 B
TypeScript
Raw Permalink Normal View History

2024-05-15 22:29:17 +00:00
export function sleep(ms: number): Promise<void> {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}