diff options
author | metamuffin <metamuffin@disroot.org> | 2022-10-03 15:18:11 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-10-03 15:18:11 +0200 |
commit | 5cae202a17fd0b5afbfaeb7549b5619909cc03c1 (patch) | |
tree | ae17631337a00cebd1acb227a917c426c6166413 /client-web/source/helper.ts | |
parent | 333a828b418344dad0f219026562c41727fbc628 (diff) | |
download | keks-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.ts | 2 |
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 |