Module memo
freya_
core
0.4.0-rc.1
Module memo
Module Items
Structs
Functions
In freya_
core::
lifecycle
freya_core
::
lifecycle
Module
memo
Copy item path
Source
Structs
§
Memo
Functions
§
use_
memo
Registers a callback that will run every time a
State
which was
.read()
inside, changes. It also returning a type that will get cached after the callback runs, thus allowing this to be used as a way to cache expensive values.