jbilcke-hf's picture
jbilcke-hf HF staff
making progress on the AI Stories Factory
6821e3e
raw
history blame
150 Bytes
export const sleep = async (durationInMs: number) =>
new Promise((resolve) => {
setTimeout(() => {
resolve(true)
}, durationInMs)
})