Skip to main content

ActionHandler

Type Alias ActionHandler 

Source
pub type ActionHandler = Box<dyn Fn(&Action) + Send + Sync>;
Expand description

Callback signature for action handlers.

Handlers receive a shared reference to the Action being dispatched.

Aliased Typeยง

pub struct ActionHandler(/* private fields */);