Module cache

Source
Expand description

A key-value cache shared with all instances of the extension.

Structs§

CachedItem
A value to be stored in the cache with an optional time-to-live duration.

Functions§

get
Retrieves a value from the cache by key, initializing it if not present.