Skip to main content

move_sel_cached_with_vote_state

Function move_sel_cached_with_vote_state 

Source
pub fn move_sel_cached_with_vote_state(
    app: &mut AppState,
    delta: isize,
    details_tx: &UnboundedSender<PackageItem>,
    comments_tx: &UnboundedSender<String>,
)
Expand description

What: Move selection and queue live AUR vote-state check for selected package.

Inputs:

  • app: Mutable application state.
  • delta: Signed selection movement.
  • details_tx: Channel for async details requests.
  • comments_tx: Channel for async AUR comments requests.

Output:

  • None (mutates selection/details state and queues optional vote-state check).

Details:

  • Uses existing logic::move_sel_cached for selection/details coordination.
  • Then schedules live vote-state check for selected AUR package.