Skip to main content

EnqueueAdviceFn

Type Alias EnqueueAdviceFn 

Source
pub type EnqueueAdviceFn = Arc<dyn Fn(AdvisorNote) + Send + Sync>;
Expand description
Unstable (feature: advisor) — may change or be removed
Host callback invoked for each *dedupe-passing* note. The host's [`crate::advisor::emission_guard::AdvisorEmissionGuard`] (not this tool) is the final accept/reject authority; this callback only fires when this tool's own severity-rank gate admits the note.

Aliased Type§

pub struct EnqueueAdviceFn { /* private fields */ }