1 unstable release
new 0.16.1 | Feb 6, 2025 |
---|
#666 in Data structures
125 downloads per month
Used in sos-filesystem
15KB
334 lines
System messages are persistent user notifications.
They can be used to surface information such as a failed synchronization, software update, due date for backup, automated security report or other information about an account.
System messages use keys so that we don't write lots of failed synchronization messages, instead the last failure would overwrite the previous messages. To avoid this behavior use a unique key such as a UUID.
Use SystemMessages::subscribe to listen for changes to the underlying collection. This allows an interface to show the number of unread system messages.
Dependencies
~4–10MB
~105K SLoC