Append the events in the given
to the event store.
type The type descriptor of the object to store
events The event stream containing the events to store
EventStoreException if an error occurs while storing the events in the event stream
Read the events of the aggregate identified by the given type and identifier that allow the current aggregate
state to be rebuilt. Implementations may omit or replace events (e.g. by using snapshot events) from the stream
for performance purposes.
type The type descriptor of the object to retrieve
identifier The unique aggregate identifier of the events to load
- an event stream containing the events of the aggregate
EventStoreException if an error occurs while reading the events in the event stream