EventStore v0.13.2 EventStore.Storage.Subscription View Source

Support persistent subscriptions to an event stream

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %EventStore.Storage.Subscription{created_at: NaiveDateTime.t(), last_seen_event_number: nil | non_neg_integer(), last_seen_stream_version: nil | non_neg_integer(), stream_uuid: String.t(), subscription_id: non_neg_integer(), subscription_name: String.t()}

Link to this section Functions

Link to this function ack_last_seen_event(conn, stream_uuid, subscription_name, last_seen_event_number, last_seen_stream_version) View Source
Link to this function subscribe_to_stream(conn, stream_uuid, subscription_name, start_from_event_number, start_from_stream_version) View Source

List all known subscriptions

Link to this function unsubscribe_from_stream(conn, stream_uuid, subscription_name) View Source