View Source Skogsra.Cache (Skogsrå v2.5.0)
This module defines the helpers for the variable cache. The cache works with persistent terms.
Summary
Functions
@spec get_env(Skogsra.Env.t()) :: {:ok, term()} | :error
Gets a variable value env
from the cache.
@spec put_env(Skogsra.Env.t(), term()) :: :ok
Stores a variable env
in a persistent term.