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.
pub fn keep_newest<T: Config>(n_to_keep: usize)
Keep the newest n
items, and prune all items older than that.