Ejemplo n.º 1
0
 public Subscription(NEventStoreAdapter eventStoreClient, long previousCheckpoint,
                     Func <IReadOnlyList <Transaction>, Task> observer, string subscriptionId = null)
 {
     this.eventStoreClient   = eventStoreClient;
     this.previousCheckpoint = previousCheckpoint;
     this.observer           = observer;
     Id = subscriptionId;
 }
Ejemplo n.º 2
0
 public Subscriber(NEventStoreAdapter eventStoreClient, long previousCheckpoint, string subscriptionId)
 {
     this.eventStoreClient   = eventStoreClient;
     this.previousCheckpoint = previousCheckpoint;
     SubscriptionId          = subscriptionId;
 }