Rivet.Utils.LazyCache behaviour (rivet_utils v2.7.0)

Copy Markdown View Source

Hat tip to https://hex.pm/packages/lazy_cache

Summary

Callbacks

get(key)

(optional)
@callback get(key :: any()) :: {:ok, any()} | {:error, :not_found}