EventStore v0.13.2 EventStore.Streams.Stream View Source
An event stream
Link to this section Summary
Functions
Append a list of events to the stream, expected version is used for optimistic concurrency
Link to this section Functions
Link to this function
append_to_stream(stream_uuid, expected_version, events, timeout \\ 5000)
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
subscribe_to_stream(stream_uuid, subscription_name, subscriber, opts)
View Source