[][src]Module comp_state::memo

Structs

MemoControl

Functions

use_memo

use_memo hook - accepts a bool that triggers re-evaluation of the given function. if the bool is true the given function is re-called.

watch

creates a watch object its is own topological context passed the current state of type T if the state is different return a watch object with true the 'changed' field if state is not different just return the existing watch object