Function pallet_session::historical::offchain::keep_newest[][src]

pub fn keep_newest<T: Config>(n_to_keep: usize)
Expand description

Keep the newest n items, and prune all items older than that.