Skip to main content

codetether_rlm/events/
bus.rs

1//! RLM event bus trait.
2
3use crate::{RlmCompletion, RlmProgressEvent};
4
5/// Trait for emitting events during an RLM run.
6pub trait RlmEventBus: Send + Sync {
7    /// Emit a progress tick (iteration boundary).
8    fn emit_progress(&self, event: RlmProgressEvent);
9    /// Emit the terminal completion record.
10    fn emit_completion(&self, event: RlmCompletion);
11}