mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-09-07 18:03:47 +00:00
✨ add bounded history sink (#1)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: history-sink-capacity
|
||||
group: api
|
||||
category: sink
|
||||
update-time: 20260811
|
||||
description: Read the normalized retention capacity of a HistorySink.
|
||||
key-word:
|
||||
- sink
|
||||
- history
|
||||
- capacity
|
||||
---
|
||||
|
||||
## History-sink-capacity
|
||||
|
||||
```moonbit
|
||||
pub fn HistorySink::capacity(self : HistorySink) -> Int
|
||||
```
|
||||
|
||||
Returns the positive retention limit selected when the sink was constructed.
|
||||
Reference in New Issue
Block a user