Skip to main content

cacheable

Attribute Macro cacheable 

Source
#[cacheable]
Expand description

Cache-first wrapper: hit returns directly, miss executes function and backfills cache.