EventStore v0.11.0-rc.0 EventStore.Streams.Stream View Source

An event stream

Link to this section Summary

Link to this section Functions

Link to this function append_to_stream(stream_uuid, expected_version, events) View Source

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

Each logical stream is a separate process; writes to a single stream will always be serialized.

Returns :ok on success.

Link to this function read_stream_forward(stream_uuid, start_version, count) View Source
Link to this function start_link(serializer, stream_uuid, opts \\ []) View Source
Link to this function stream_forward(stream_uuid, start_version, read_batch_size) View Source
Link to this function stream_version(stream_uuid) View Source
Link to this function subscribe_to_stream(stream_uuid, subscription_name, subscriber, opts) View Source