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

Function performance_foreground_process

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

Source from the content-addressed store, hash-verified

2048}
2049
2050async fn performance_foreground_process(state: &AppState, udid: &str) -> Option<ForegroundProcess> {
2051 let foreground = foreground_app_for_simulator(state, udid)
2052 .await
2053 .ok()
2054 .flatten();
2055 foreground.map(|foreground| ForegroundProcess {
2056 process_identifier: foreground.process_identifier,
2057 bundle_identifier: foreground.bundle_identifier,
2058 app_name: foreground.app_name,
2059 })
2060}
2061
2062async fn simulator_display_signal(state: AppState, udid: &str) -> DisplaySignal {
2063 all_device_values(state, false)

Callers 3

simulator_processesFunction · 0.85
sample_process_stackFunction · 0.85

Calls 1

Tested by

no test coverage detected