Skip to main content

SimpleEventBus

Type Alias SimpleEventBus 

Source
pub type SimpleEventBus<S, A, Id> = EventBus<S, A, Id, DefaultBindingContext>;
Expand description

Simplified EventBus for apps that don’t need custom binding contexts.

Use this when you don’t need context-specific keybindings:

let bus: SimpleEventBus<AppState, AppAction, ComponentId> = SimpleEventBus::new();

Aliased Type§

pub struct SimpleEventBus<S, A, Id> { /* private fields */ }