Skip to main content

reorder_profiles

Function reorder_profiles 

Source
pub async fn reorder_profiles(
    app: AppHandle,
    scheduler: State<'_, Scheduler>,
    names: Vec<String>,
) -> Result<(), String>
Expand description

Reorder profiles to match names exactly. The renderer sends the full list — the call rejects length mismatches, duplicates, and unknown names rather than try to merge.