Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydantic/pydantic
/ sleep
Function
sleep
docs/extra/fluff.js:35–35 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
33
let
counter = 0;
34
35
const
sleep = (ms) =>
new
Promise((resolve) => setTimeout(resolve, ms));
36
37
// avoid multiple replaceText running at the same time (e.g. when the user has left the page)
38
let
running = false;
Callers
3
replaceText
Function · 0.85
update_lib
Function · 0.85
assert_gc
Function · 0.85
Calls
no outgoing calls
Tested by
1
assert_gc
Function · 0.68