MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / sleep

Function sleep

scripts/bench/agent-control-benchmark.mjs:1320–1322  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

1318}
1319
1320function sleep(ms) {
1321 return new Promise((resolve) => setTimeout(resolve, ms));
1322}
1323
1324async function waitUntil(predicate, timeoutMs) {
1325 const deadline = performance.now() + timeoutMs;

Callers 3

withSettingsRootFunction · 0.70
startArgentToolServerFunction · 0.70
waitUntilFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected