Noizu.EntityRepoBehaviour behaviour
(NoizuLabs Entities v0.2.1)
Define Entity Repo Crud Behaviour.
Summary
Implement Entity Repo Behaviour.
Runtime cache sref to handler map.
Callbacks
@callback create(entity :: any(), context :: any(), options :: any()) ::
{:ok, any()} | {:error, any()}
@callback delete(entity :: any(), context :: any(), options :: any()) ::
{:ok, any()} | {:error, any()}
@callback update(entity :: any(), context :: any(), options :: any()) ::
{:ok, any()} | {:error, any()}
Functions
Implement Entity Repo Behaviour.
Runtime cache sref to handler map.