pub fn ring_prefetch_from_selected(
app: &mut AppState,
details_tx: &UnboundedSender<PackageItem>,
)Expand description
What: Prefetch details for items near the current selection (alternating above/below).
Inputs:
app: Mutable application state (results,selected,details_cache)details_tx: Channel to enqueue detail requests
Output:
- Enqueues requests for allowed, uncached neighbors within a fixed radius; no return value.
Details:
- Respects
logic::is_allowedand skips names present in the cache; designed to be cheap.