[][src]Function seed::browser::util::update

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

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.

Note: Function is deprecated. See examples update_from_js and websocket for alternatives.