UiEvent
interface UiEvent
Something that happened and must be handled: a tap, a text change, something to report to analytics.
Declare a screen's events as one sealed type that extends this interface. Each concrete event is handled by exactly one EventHandler. Not every handler changes the state: Eventus routes events and knows nothing about a user interface.