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