예제 #1
0
        public IObserveCommits Construct()
        {
            var             pollingClient = new PollingClient(eventStore.Advanced);
            var             checkpoint    = checkpointRepo.LoadCheckpoint();
            IObserveCommits subscription  = pollingClient.ObserveFrom(checkpoint);

            foreach (var commitObserver in commitObservers)
            {
                subscription.Subscribe(commitObserver);
            }

            return(subscription);
        }