Skip to content

Commit

Permalink
Create sleep.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonhellman committed Aug 24, 2019
1 parent 769e49f commit 31140f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/sleep.ts
@@ -0,0 +1,3 @@
export async function sleep(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms));
}

0 comments on commit 31140f0

Please sign in to comment.