Current section

Files

Jump to
eventstore lib event_store subscriptions subscription_state.ex
Raw

lib/event_store/subscriptions/subscription_state.ex

defmodule EventStore.Subscriptions.SubscriptionState do
@moduledoc false
defstruct [
:conn,
:stream_uuid,
:start_from,
:subscription_name,
:subscription_id,
:selector,
:mapper,
:max_size,
:partition_by,
:lock_ref,
last_received: 0,
last_sent: 0,
last_ack: 0,
queue_size: 0,
buffer_size: 1,
subscribers: %{},
partitions: %{},
processed_event_ids: MapSet.new()
]
end