Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
clapper
like
26
Running
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
main
clapper
/
packages
/
broadway
/
src
/
utils
/
sleep.ts
jbilcke-hf
HF Staff
initial commit π½π¬
6c0a0fe
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)
})