use_memo
function · ferroui-view · v0.5.0
fn use_memo<T: PartialEq + 'static>(compute: impl Fn() -> T + 'static) -> crate::reactive::Memo<T>
A memo of compute, made on the first run and kept across runs. It
follows the signals it reads; it does not see the values the function was
given on later runs (read those in the function, or keep them in a
signal).
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.