lib/eventstore.js
function (evtOrId, callback) {
    if (typeof evtOrId === 'object') {
      evtOrId = evtOrId.id;
    }
    this.store.setEventToDispatched(evtOrId, callback);
  }
function (evtOrId, callback) {
    if (typeof evtOrId === 'object') {
      evtOrId = evtOrId.id;
    }
    this.store.setEventToDispatched(evtOrId, callback);
  }
function ( evtOrId , callback ) { if ( typeof evtOrId === 'object' ) { evtOrId = evtOrId . id ; } this . store . setEventToDispatched ( evtOrId , callback ) ; }
Sets the given event to dispatched.
@param {Object || String} evtOrId  the event object or its id
@param {Function}         callback the function that will be called when this action has finished [optional]
Sets the given event to dispatched .