History-sink-clear
moonbit
pub fn HistorySink::clear(self : HistorySink) -> UnitClears all retained records and resets dropped_count() to zero. It does not close the sink; subsequent records begin a new history session.