Function create_computed

Source
pub fn create_computed<T, F>(
    _scope: &ReactiveScope,
    compute_fn: F,
) -> ReactiveComputed<T, Box<dyn FnMut() -> T + Send + Sync + 'static>>
where F: FnMut() -> T + Send + Sync + 'static, T: Send + Sync + Clone + 'static,
Expand description

Create a new computed value