Skip to main content

CollectionPurgedHandler

Type Alias CollectionPurgedHandler 

Source
pub type CollectionPurgedHandler = Arc<dyn Fn(CollectionPurgedEvent) + Send + Sync + 'static>;
Expand description

Handler registered via NodeDb::on_collection_purged. Fn-ref (not FnMut) so the same handler can fire from multiple threads without interior mutability ceremony at every call site.

Aliased Typeยง

pub struct CollectionPurgedHandler { /* private fields */ }