Helios v0.2.2 Helios.EventJournal.Adapter.Eventstore View Source

EventJournal adapter for Eventstore database.

Link to this section Summary

Functions

Appends events to stream from given expected version. If expected version do not match the one that matches last event number in evenent store it will respond with {:error, :wrong_expected_version}

Link to this section Functions

Link to this function append_to_stream(server, stream, events, expexted_version \\ -2) View Source

Appends events to stream from given expected version. If expected version do not match the one that matches last event number in evenent store it will respond with {:error, :wrong_expected_version}