kvasir_agent v0.0.1-proto4b Kvasir.Agent.Cache behaviour View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback load(agent, id) View Source
load(agent :: module(), id :: term()) :: map() | nil
Link to this callback save(agent, id, data) View Source
save(agent :: module(), id :: term(), data :: map()) :: :ok | {:error, atom()}