[][src]Function flo_binding::computed

pub fn computed<Value, TFn>(calculate_value: TFn) -> ComputedBinding<Value, TFn> where
    Value: Clone + Send,
    TFn: 'static + Send + Sync + Fn() -> Value, 

Creates a computed value that tracks bindings accessed during the function call and marks itself as changed when any of these dependencies also change