pub(crate) fn collect_aura_intervals( events: &[AuraEvent], emit: impl FnMut(&AuraEvent, u32, Option<u32>), )