View Source Statestores.Adapters.Behaviour behaviour (spawn_statestores v0.5.3)

Defines the default behavior for each Statestore Provider.

Link to this section Summary

Link to this section Types

Link to this section Callbacks

@callback default_port() :: <<_::32>>
@callback get_by_key(actor()) :: event()
@callback save(event()) :: {:error, any()} | {:ok, event()}