use std::sync::Mutex;
use tokio::sync::mpsc::UnboundedSender;
use crate::load_events::models::LoadEvent;
#[derive(Debug)]
pub(crate) struct EventStream {
pub(crate) run_id: String,
pub(crate) sender: UnboundedSender<LoadEvent>,
}
pub(crate) static STREAM: Mutex<Option<EventStream>> = Mutex::new(None);