Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
ai-tube
like
279
Running
on
CPU Upgrade
App
Files
Files
Community
9
refs/pr/5
ai-tube
/
src
/
lib
/
sleep.ts
jbilcke-hf
HF staff
🍿
1f122c3
12 months ago
raw
Copy download link
history
blame
Safe
150 Bytes
export
const
sleep
=
async
(
durationInMs:
number
) =>
new
Promise
(
(
resolve
) =>
{
setTimeout
(
() =>
{
resolve
(
true
)
}, durationInMs)
})