Skip to main content

plan_and_pause

Function plan_and_pause 

Source
fn plan_and_pause(
    call: &'_ dyn Fn(&str, &str, &str, &[&str]) -> Option<String>,
) -> ResumeToken
Expand description

List MPRIS players, pause the ones currently Playing, and return a token naming exactly those (so resume reverses only what we paused).