View Source Flowy.Support.Cache.Store behaviour (Flowy v0.1.1)
A behaviour for cache stores.
Summary
Callbacks
@callback delete(key :: String.t()) :: {:error, :not_found} | {:ok, :deleted}
@callback reset() :: true
A behaviour for cache stores.
@callback delete(key :: String.t()) :: {:error, :not_found} | {:ok, :deleted}
@callback reset() :: true