kvasir_agent v0.0.1-proto5b 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()) :: {:ok, Kvasir.Offset.t(), map()} | {:error, atom()}
Link to this callback
save(agent, id, data, offset)
View Source
save( agent :: module(), id :: term(), data :: map(), offset :: Kvasir.Offset.t() ) :: :ok | {:error, atom()}