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

Function stale_cached_foreground_app

packages/server/src/api/routes.rs:4350–4352  ·  view source on GitHub ↗
(udid: &str)

Source from the content-addressed store, hash-verified

4348}
4349
4350fn stale_cached_foreground_app(udid: &str) -> Option<devtools::ForegroundApp> {
4351 cached_foreground_app_with_ttl(udid, FOREGROUND_APP_STALE_TTL)
4352}
4353
4354fn cached_foreground_app_with_ttl(udid: &str, ttl: Duration) -> Option<devtools::ForegroundApp> {
4355 let cache = FOREGROUND_APP_CACHE.get()?;

Calls 1

Tested by

no test coverage detected