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

Function sleep_ms

packages/server/src/main.rs:5392–5396  ·  view source on GitHub ↗
(duration_ms: u64)

Source from the content-addressed store, hash-verified

5390}
5391
5392fn sleep_ms(duration_ms: u64) {
5393 if duration_ms > 0 {
5394 std::thread::sleep(Duration::from_millis(duration_ms));
5395 }
5396}
5397
5398fn bridge_simulator_is_tvos(bridge: &NativeBridge, udid: &str) -> bool {
5399 bridge.simulator_is_tvos(udid).unwrap_or(false)

Callers 8

mainFunction · 0.85
run_multitouch_framesFunction · 0.85
perform_tap_with_inputFunction · 0.85
type_textFunction · 0.85
run_batch_stepFunction · 0.85
wait_for_batch_selectorFunction · 0.85
resolve_tap_targetFunction · 0.85
run_maestro_commandFunction · 0.85

Calls 1

sleepFunction · 0.50

Tested by

no test coverage detected