Private
Public Access
1
0
Files
Kordophone/kordophoned/src/daemon/signals.rs

16 lines
506 B
Rust
Raw Normal View History

2025-04-27 22:44:05 -07:00
#[derive(Debug, Clone)]
pub enum Signal {
/// Emitted when the list of conversations is updated.
2025-04-27 22:44:05 -07:00
ConversationsUpdated,
/// Emitted when the list of messages for a conversation is updated.
/// Parameters:
/// - conversation_id: The ID of the conversation that was updated.
MessagesUpdated(String),
/// Emitted when an attachment has been downloaded.
/// Parameters:
/// - attachment_id: The ID of the attachment that was downloaded.
AttachmentDownloaded(String),
2025-04-27 22:44:05 -07:00
}