eventstore v0.2.1 EventStore.Streams.Stream

An event stream

Summary

Functions

Append the given list of events to the stream, expected version is used for optimistic concurrency

Functions

append_to_stream(stream, expected_version, events)

Append the given list of events to the stream, expected version is used for optimistic concurrency

Each Stream is a GenServer process, so writes to a single logical stream will always be serialized.

start_link(stream_uuid)