Skip to main content

create_memo

Function create_memo 

Source
pub fn create_memo<T, F>(f: F) -> Memo<T>
where F: Fn() -> T + 'static, T: PartialEq + Clone + 'static,
Expand description

Creates a derived computation that caches its value and updates when dependencies change.