(state: AppState, udid: String)
| 2166 | } |
| 2167 | |
| 2168 | async 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 | |
| 2180 | async fn boot_simulator( |
| 2181 | State(state): State<AppState>, |
no test coverage detected