aboutsummaryrefslogtreecommitdiff
path: root/client-web/source/helper.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-10-03 15:18:11 +0200
committermetamuffin <metamuffin@disroot.org>2022-10-03 15:18:11 +0200
commit5cae202a17fd0b5afbfaeb7549b5619909cc03c1 (patch)
treeae17631337a00cebd1acb227a917c426c6166413 /client-web/source/helper.ts
parent333a828b418344dad0f219026562c41727fbc628 (diff)
downloadkeks-meet-5cae202a17fd0b5afbfaeb7549b5619909cc03c1.tar
keks-meet-5cae202a17fd0b5afbfaeb7549b5619909cc03c1.tar.bz2
keks-meet-5cae202a17fd0b5afbfaeb7549b5619909cc03c1.tar.zst
file transfer works, sort-of
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