Skip to main content

sweep_mentions

Function sweep_mentions 

Source
pub(crate) async fn sweep_mentions(
    host: &dyn SlackHost,
    api: &dyn SlackApi,
    workspace: &str,
) -> Result<SweepOutcome, SlackError>
Expand description

Sweep the workspace’s mention stream. Returns at once when no Mentions target exists, so a workspace with only conversation subscriptions never spends a search call on every tick.