Skip to main content

set_watch

Function set_watch 

Source
pub async fn set_watch(
    pool: &PgPool,
    actor: &Actor,
    entity_type: &str,
    entity_id: Uuid,
    watch: bool,
) -> AppResult<bool>
Expand description

Starts (watch = true) or stops watching an item or a change. Returns whether the actor watches it afterwards.