Skip to main content

update_key

Function update_key 

Source
pub fn update_key<F>(name: &str, key: &str, f: F) -> Result<Dynamic>
where F: FnMut(Dynamic) -> Dynamic + Send + 'static,
Expand description

原子并发更新一个 map 节点内某个 key 的值。返回更新后的值。