Skogsrå v1.2.0 Skogsra.Cache View Source

This module defines the helpers for the variable cache.

Link to this section Summary

Functions

Gets a variable value env from the cache

Creates a new cache

Stores a variable env in the cache

Link to this section Functions

Link to this function

get_env(env) View Source
get_env(Skogsra.Env.t()) :: {:ok, term()} | :error

Gets a variable value env from the cache.

Creates a new cache.

Link to this function

put_env(env, value) View Source
put_env(Skogsra.Env.t(), term()) :: :ok

Stores a variable env in the cache.