Skip to main content

CompactionTrigger

Type Alias CompactionTrigger 

Source
pub type CompactionTrigger = Arc<dyn Fn(&CompactionMessageIndex) -> bool + Send + Sync>;
Expand description

Decides, from a conversation’s CompactionMessageIndex, whether a strategy should run.

Aliased Type§

pub struct CompactionTrigger { /* private fields */ }