📝 Align API docs with updated interface template

This commit is contained in:
Nanaloveyuki
2026-05-12 13:20:36 +08:00
parent 8dbadd5938
commit 4d913aa642
47 changed files with 2228 additions and 406 deletions
-18
View File
@@ -35,24 +35,6 @@ pub fn[S] Logger::with_queue(
- `Logger[QueuedSink[S]]` - A logger using an explicit synchronous queue wrapper.
---
e.g.:
```moonbit
pub fn[S] Logger::with_queue(self : Logger[S], max_pending~ : Int = 0, overflow~ : QueueOverflowPolicy = QueueOverflowPolicy::DropNewest) -> Logger[QueuedSink[S]] {}
```
#### input
- `max_pending : Int` - Queue bound.
- `overflow : QueueOverflowPolicy` - Backlog overflow behavior.
#### output
- `Logger[QueuedSink[S]]` - Queue-wrapped logger.
---
### Explanation
Detailed rules explaining key parameters and behaviors