Skip to main content

## plan

# Function plan

Source

    pub fn plan(from: Option<&str>, to: &str, online: bool) -> Vec<SwitchStep>

Expand description

Build the ordered plan for moving from `from` to `to`.

Switching to the profile that is already active is not a no-op — it is how an idle re-lock is dismissed — but it must not tear down playback, or unlocking your own screen would stop the music. Only the emit survives.

TRACES: UR-082 | DR-270