MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / sleep

Function sleep

scripts/integration/cli.mjs:2070–2075  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

2068}
2069
2070function sleep(ms) {
2071 if (activeTiming) {
2072 activeTiming.sleepMs += ms;
2073 }
2074 return new Promise((resolve) => setTimeout(resolve, ms));
2075}
2076
2077function printTimingSummary() {
2078 if (stepTimings.length === 0) {

Callers 15

waitForHealthFunction · 0.70
retrySimdeckJsonFunction · 0.70
retrySimdeckTextFunction · 0.70
retrySimdeckTextUntilFunction · 0.70
verifyUiFunction · 0.70
verifyUiWithDescribeFunction · 0.70
waitForUiTextFunction · 0.70
retryHttpJsonFunction · 0.70
wait_for_process_exitFunction · 0.50

Calls

no outgoing calls