Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
jbilcke-hf/tikslop
codificando
/
ai-lab-tube
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
ai-lab-tube
/
src
/
lib
/
utils
/
sleep.ts
jbilcke
working to improve the clap format
f42b4a1
about 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
150 Bytes
export
const
sleep
=
async
(
durationInMs:
number
) =>
new
Promise
(
(
resolve
) =>
{
setTimeout
(
() =>
{
resolve
(
true
)
}, durationInMs)
})