eventstore v0.10.1 EventStore.Streams.Stream

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)

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)
Link to this function start_link(serializer, stream_uuid)
Link to this function stream_forward(stream_uuid, start_version, read_batch_size)
Link to this function stream_version(stream_uuid)
Link to this function subscribe_to_stream(stream_uuid, subscription_name, subscriber, opts)