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

Function foreground_app_for_simulator

packages/server/src/api/routes.rs:4294–4299  ·  view source on GitHub ↗
(
    state: &AppState,
    udid: &str,
)

Source from the content-addressed store, hash-verified

4292}
4293
4294async fn foreground_app_for_simulator(
4295 state: &AppState,
4296 udid: &str,
4297) -> Result<Option<devtools::ForegroundApp>, String> {
4298 foreground_app_for_simulator_with_cache_ttl(state, udid, FOREGROUND_APP_CACHE_TTL).await
4299}
4300
4301async fn foreground_app_for_simulator_with_cache_ttl(
4302 state: &AppState,

Callers 2

simulator_stateFunction · 0.85

Tested by

no test coverage detected