From 5cae202a17fd0b5afbfaeb7549b5619909cc03c1 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 3 Oct 2022 15:18:11 +0200 Subject: file transfer works, sort-of --- client-web/source/helper.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client-web/source/helper.ts') 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 -- cgit v1.2.3-70-g09d2