pub fn spawn_session_map_cleanup_task(
runners: Arc<RwLock<HashMap<String, AgentRunner>>>,
senders: Arc<RwLock<HashMap<String, Sender<AgentEvent>>>>,
log_prefix: Option<&'static str>,
)Expand description
Spawn a background task that idle-evicts completed agent runners and their
paired session event senders after [SESSION_MAP_IDLE_TTL_SECS].
Fire-and-forget (runs for the process lifetime), matching the other
background maintenance tickers. See [evict_idle_session_entries] for the
eviction predicate and its race-freedom argument.