View Source Skogsra.Cache (Skogsrå v2.4.0)

This module defines the helpers for the variable cache. The cache works with persistent terms.

Link to this section Summary

Functions

Gets a variable value env from the cache.

Stores a variable env in a persistent term.

Link to this section 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.