pub async fn set_active_profile( app: AppHandle, scheduler: State<'_, Scheduler>, name: String, ) -> Result<(), String>
Renderer-facing set_active_profile. Thin wrapper over set_active_profile_impl.
set_active_profile
set_active_profile_impl