Expand description
Session alert stream: categories, kinds, and the broadcast surface. Alert/event system for push-based notifications.
Consumers subscribe to a broadcast channel of Alert events, optionally
filtered by AlertCategory bitmask at both session and per-subscriber level.
Structs§
- Alert
- A timestamped event from the session or a torrent.
- Alert
Category - Bitmask categories for filtering alerts.
- Alert
Stream - A filtered view of the alert broadcast channel.
Enums§
- Alert
Kind - The specific event that occurred.
Functions§
- post_
alert - Fire an alert if its category passes the session-level mask.