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

Function run_toggle_appearance_control

packages/server/src/api/routes.rs:3182–3189  ·  view source on GitHub ↗
(
    bridge: NativeBridge,
    udid: String,
)

Source from the content-addressed store, hash-verified

3180}
3181
3182pub(crate) async fn run_toggle_appearance_control(
3183 bridge: NativeBridge,
3184 udid: String,
3185) -> Result<(), AppError> {
3186 task::spawn_blocking(move || bridge.toggle_appearance(&udid))
3187 .await
3188 .map_err(|error| AppError::internal(format!("Failed to join control task: {error}")))?
3189}
3190
3191async fn chrome_profile(
3192 State(state): State<AppState>,

Callers 2

run_webrtc_control_queueFunction · 0.85
run_control_queueFunction · 0.85

Calls 1

toggle_appearanceMethod · 0.45

Tested by

no test coverage detected