mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 11:45:02 +01:00
improve tracing
This commit is contained in:
parent
bd5d4c03c5
commit
08fa9163b8
14 changed files with 273 additions and 150 deletions
|
|
@ -15,7 +15,10 @@ use tokio::sync::mpsc;
|
|||
pub type Queue = Arc<QueueInner>;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum QueueEvent {}
|
||||
pub enum QueueEvent {
|
||||
PublishMessage(Message),
|
||||
Shutdown,
|
||||
}
|
||||
|
||||
pub type QueueEventSender = mpsc::Sender<QueueEvent>;
|
||||
pub type QueueEventReceiver = mpsc::Receiver<QueueEvent>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue