Skip to main content

Module event_handler

Module event_handler 

Source

Structs§

EventHandlerConfig
Configuration for the shared event handler. Both GUI and CLI provide their own config with the session store + current session state.
EventHandlerResult
Result from processing an event. Contains any state updates the caller should apply.

Traits§

SessionPersistence
Trait for session persistence, so the event handler doesn’t depend on rho-session directly.

Functions§

handle_event
Process an agent event, performing any side effects (persistence, etc). Returns state updates the caller should apply, or None if no action needed.