pub fn read_context_snapshot_cached(
run_id: &str,
cache: &mut StatCache<ContextSnapshot>,
) -> Option<Arc<ContextSnapshot>>Expand description
read_context_snapshot through a StatCache, for pollers. The
snapshot is shared, not cloned: a context window is the largest thing in a
run dir, and handing out copies per tick is the churn this cache removes.