pub async fn needing_attention(
pool: &PgPool,
actor: &Actor,
limit: usize,
) -> AppResult<(Vec<AttentionSimulation>, usize, bool)>Expand description
Simulations the actor may read whose latest revision (not obsolete) has a
value outside its limits or an out-of-date basis, the first limit by
number, how many there are in total, and whether the scan cap was hit
(the total is then a lower bound).