jbilcke-hf's picture
jbilcke-hf HF staff
initial commit
9a42933
raw
history blame
150 Bytes
export const sleep = async (durationInMs: number) =>
new Promise((resolve) => {
setTimeout(() => {
resolve(true)
}, durationInMs)
})