Module memo

Module memo 

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.