1 2 3 4 5 6 7 8 9 10 11
use std::sync::Arc; pub struct MatrixEventProcessor { age_limit_ms: u64, } impl MatrixEventProcessor { pub fn with_age_limit(handler: Arc<super::MatrixEventHandlerImpl>, age_limit_ms: u64) -> Self { Self { age_limit_ms } } }