View Source Solid.Caching behaviour (solid v0.18.0)
Summary
Callbacks
@callback get(key :: term()) :: {:ok, Solid.Template.t()} | {:error, :not_found}
@callback put(key :: term(), Solid.Template.t()) :: :ok | {:error, term()}
@callback get(key :: term()) :: {:ok, Solid.Template.t()} | {:error, :not_found}
@callback put(key :: term(), Solid.Template.t()) :: :ok | {:error, term()}