MCPcopy
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

replaceTextFunction · 0.85
update_libFunction · 0.85
assert_gcFunction · 0.85

Calls

no outgoing calls

Tested by 1

assert_gcFunction · 0.68