eventstore v0.10.1 EventStore.Writer

Single process writer to assign a monotonically increasing id and persist events to the store

Link to this section Summary

Functions

Append the given list of recorded events to the stream

Link to this section Functions

Link to this function append_to_stream(events, stream_uuid)
append_to_stream([EventStore.RecordedEvent.t], String.t) ::
  :ok |
  {:error, reason :: any}

Append the given list of recorded events to the stream

Returns :ok on success, or {:error, reason} on failure