title: CQRS/EventStore : How to dispatch undispatched events?
body: <p>With the amazing library EventStore 3.0 there is a </p>
  
  <pre><code>store.Advanced.GetUnDispatchedCommits();
  </code></pre>
  
  <p>What is the best way/pattern to dispatch these?</p>
  
  <p>Do I simply loop and call my dispatcher and then update the commit to indicate it has been dispatched (if so how would I do this)?</p>
  
  <p>Also, during the wiring up of the EventStore, a dispatch is attempted on undispatched commits at start up. How can I avoid this from being done?</p>
  
  <p>These questions are more to do with learning how EventStore works rather than a problem with a project.</p>