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

Function boot_ios_device

packages/server/src/api/routes.rs:2168–2178  ·  view source on GitHub ↗
(state: AppState, udid: String)

Source from the content-addressed store, hash-verified

2166}
2167
2168async fn boot_ios_device(state: AppState, udid: String) -> Result<(), AppError> {
2169 forget_lifecycle_session(&state, &udid);
2170 let action_udid = udid.clone();
2171 run_bridge_action(state.clone(), move |bridge| {
2172 bridge.boot_simulator(&action_udid)
2173 })
2174 .await?;
2175 let generation = state.accessibility_cache.generation(&udid);
2176 warm_accessibility_cache(state, udid, generation).await;
2177 Ok(())
2178}
2179
2180async fn boot_simulator(
2181 State(state): State<AppState>,

Callers 2

create_simulatorFunction · 0.85
boot_simulatorFunction · 0.85

Calls 6

forget_lifecycle_sessionFunction · 0.85
run_bridge_actionFunction · 0.85
warm_accessibility_cacheFunction · 0.85
boot_simulatorMethod · 0.80
generationMethod · 0.80
cloneMethod · 0.65

Tested by

no test coverage detected