File size: 150 Bytes
9a42933
 
 
 
 
 
1
2
3
4
5
6
export const sleep = async (durationInMs: number) =>
  new Promise((resolve) => {
    setTimeout(() => {
      resolve(true)
    }, durationInMs)
  })