mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-09-07 18:03:47 +00:00
21 lines
466 B
Markdown
21 lines
466 B
Markdown
---
|
|
name: history-sink-dropped-count
|
|
group: api
|
|
category: sink
|
|
update-time: 20260811
|
|
description: Read the number of oldest records evicted from a HistorySink.
|
|
key-word:
|
|
- sink
|
|
- history
|
|
- dropped
|
|
---
|
|
|
|
## History-sink-dropped-count
|
|
|
|
```moonbit
|
|
pub fn HistorySink::dropped_count(self : HistorySink) -> Int
|
|
```
|
|
|
|
Returns the cumulative number of records evicted because the bounded history was
|
|
full. `clear()` resets this count for the new history session.
|