diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/delay.ts | 1 |
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)); | |||