Spaces:
Runtime error
Runtime error
Download src/lib/sleep.ts from WaledRashed24/comics: direct link, hf CLI and curl.
- Browser
- Download file 150 Bytes
-
https://huggingface.co/spaces/WaledRashed24/comics/resolve/main/src/lib/sleep.ts
- Command line
-
hf download hf://spaces/WaledRashed24/comics/src/lib/sleep.ts
-
curl -L -o sleep.ts https://huggingface.co/spaces/WaledRashed24/comics/resolve/main/src/lib/sleep.ts
150 Bytes
| export const sleep = async (durationInMs: number) => | |
| new Promise((resolve) => { | |
| setTimeout(() => { | |
| resolve(true) | |
| }, durationInMs) | |
| }) |