View Source Statestores.Adapters.ProjectionBehaviour behaviour (spawn_statestores v2.0.0-RC11)
Defines the default behavior for each Projection Provider.
Summary
Types
Callbacks
@callback create_or_update_table(projection_type(), table_name()) :: :ok
@callback default_port() :: <<_::32>>
@callback upsert(projection_type(), table_name(), data()) :: :ok