summaryrefslogtreecommitdiffstats
path: root/src/status.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/status.rs')
-rw-r--r--src/status.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/status.rs b/src/status.rs
index 6e674c8..96f2cbd 100644
--- a/src/status.rs
+++ b/src/status.rs
@@ -1,6 +1,13 @@
use axum::response::sse::Event;
use serde::{Deserialize, Serialize};
+pub type Receiver = tokio::sync::watch::Receiver<Status>;
+pub type Sender = tokio::sync::watch::Sender<Status>;
+
+pub use stream::{NamedStatusStream, StatusStream};
+
+pub mod stream;
+
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
#[serde(rename_all = "lowercase", tag = "status", content = "output")]
pub enum Status {