eventstore v0.8.0 EventStore.Storage.Subscription

Support persistent subscriptions to an event stream

Summary

Types

t()
t() :: %EventStore.Storage.Subscription{created_at: NaiveDateTime.t, last_seen_event_id: 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}

Functions

ack_last_seen_event(conn, stream_uuid, subscription_name, last_seen_event_id, last_seen_stream_version)
subscribe_to_stream(conn, stream_uuid, subscription_name, start_from_event_id, start_from_stream_version)
subscriptions(conn)

List all known subscriptions

unsubscribe_from_stream(conn, stream_uuid, subscription_name)