aboutsummaryrefslogtreecommitdiff
path: root/client-web/source/helper.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client-web/source/helper.ts')
-rw-r--r--client-web/source/helper.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client-web/source/helper.ts b/client-web/source/helper.ts
index d43fc3e..adb5f08 100644
--- a/client-web/source/helper.ts
+++ b/client-web/source/helper.ts
@@ -84,3 +84,5 @@ export function notify(body: string, author?: string) {
else
new Notification(`keks-meet`, { body })
}
+
+export function sleep(delay: number) { return new Promise(r => setTimeout(r, delay)) } \ No newline at end of file