Skip to main content

get_attention_items

Function get_attention_items 

Source
pub async fn get_attention_items(
    conn: &mut PgConnection,
    rules: &AttentionRules,
    only_ids: Option<&[Uuid]>,
) -> ModelResult<Vec<AttentionRegistration>>
Expand description

Every live row at least one detector picks, oldest phase start first, narrowed to only_ids when given. Superseded rows are outside every detector: acting on a replaced attempt is never right.