aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/async-helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/async-helpers.ts')
-rw-r--r--src/helpers/async-helpers.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/async-helpers.ts b/src/helpers/async-helpers.ts
index 6b1f24b5a..56051b065 100644
--- a/src/helpers/async-helpers.ts
+++ b/src/helpers/async-helpers.ts
@@ -1,3 +1,4 @@
1export function sleep(ms: number = 0) { 1export function sleep(ms: number = 0) {
2 // eslint-disable-next-line no-promise-executor-return
2 return new Promise(r => setTimeout(r, ms)); 3 return new Promise(r => setTimeout(r, ms));
3} 4}