[][src]Function seed::update

pub fn update<Ms>(msg: Ms) where
    Ms: Clone + 'static + Serialize

Trigger update function. It requires Msg to be (De)serializable and to register trigger_update_handler in window_events. Consider to use App::update if you have access to the App instance.