Expand description
Cortex Event Bus — typed events from every component.
The EventBus is a tokio::sync::broadcast channel that carries
CortexEvent values. Any consumer — MCP server, REST SSE endpoint,
web dashboard, log files — can subscribe independently. When no
subscribers exist, events are silently dropped (zero overhead).
Structs§
- Event
Bus - The central event bus for Cortex.
Enums§
- Cortex
Event - Every event Cortex emits. Serialized to JSON for SSE, MCP, and socket streaming.
Functions§
- event_
matches_ domain - Check if an event is related to a specific domain.
- now_
timestamp - Get the ISO-8601 timestamp for the current time.