incident v0.2.0 Incident.EventStore.Adapter behaviour View Source

Defines the API for an Event Store adapter.

Link to this section Summary

Callbacks

Appends an event to the Event Store.

Receives an aggregate id and returns a list containing all persisted events from the Event Store.

Link to this section Callbacks

Appends an event to the Event Store.

Receives an aggregate id and returns a list containing all persisted events from the Event Store.