create_updater

Function create_updater 

Source
pub fn create_updater<R>(
    compute: impl Fn() -> R + 'static,
    on_change: impl Fn(R) + 'static,
) -> R
where R: 'static,
👎Deprecated since 0.2.0: Use UpdaterEffect::new instead; this will be removed in a future release