Skip to content

Instantly share code, notes, and snippets.

@dcomartin dcomartin/dropped.cs
Created Feb 23, 2016

Embed
What would you like to do?
private void ConnectToSubscription()
{
var bufferSize = 10;
var autoAck = true;
_subscription = _conn.ConnectToPersistentSubscription(STREAM, GROUP, EventAppeared, SubscriptionDropped,
User, bufferSize, autoAck);
}
private void SubscriptionDropped(EventStorePersistentSubscriptionBase eventStorePersistentSubscriptionBase,
SubscriptionDropReason subscriptionDropReason, Exception ex)
{
ConnectToSubscription();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.