Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/replicate/scribble-diffusion
/ sleep
Function
sleep
lib/sleep.js:1–1 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
1
const
sleep = (ms) =>
new
Promise((r) => setTimeout(r, ms));
2
3
export
default sleep;
Callers
1
handleSubmit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected