1//! Event sink contract used to observe agent runtime lifecycle events. 2 3use super::RunEvent; 4 5/// Receives runtime events as they occur. 6pub trait EventSink: Send + Sync { 7 fn emit(&self, event: &RunEvent); 8}