View Source Statestores.Adapters.SnapshotBehaviour behaviour (spawn_statestores v1.0.0-rc2)

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(id()) :: event()
@callback save(event()) :: {:error, any()} | {:ok, event()}