summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/delay.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/delay.ts b/src/util/delay.ts
new file mode 100644
index 0000000..1fc86a2
--- /dev/null
+++ b/src/util/delay.ts
@@ -0,0 +1 @@
export default (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));