Skip to main content

handle_event

Function handle_event 

Source
pub async fn handle_event(
    app: &mut App,
    event: AppEvent,
    backend_tx: &UnboundedSender<AppEvent>,
)
Expand description

Handle an incoming event, updating app state and optionally spawning backend work.