class Synapse::EventStore::SnapshotEventStore

Represents an event store with the capability to manage aggregate snapshots @abstract

Public Instance Methods

append_snapshot_event(type_identifier, snapshot_event) click to toggle source

Appends the given snapshot event to the event store

@abstract @raise [EventStoreError] If an error occurs while appending the event to the store @param [String] type_identifier Type descriptor of the aggregate to append to @param [DomainEventMessage] snapshot_event @return [undefined]

# File lib/synapse/event_store/event_store.rb, line 44
def append_snapshot_event(type_identifier, snapshot_event)
  raise NotImplementedError
end