lib/replayHandler.js
function (callback) {
    var self = this;
    async.parallel([
      function (callback) {
        async.each(self.dispatcher.tree.getCollections(), function (col, callback) {
          if (col.noReplay) {
            return callback(null);
          }
          col.repository.clear(callback);
        }, callback);
      },
      function (callback) {
        self.store.clear(callback);
      }
    ], callback);
  }
function (callback) {
    var self = this;
    async.parallel([
      function (callback) {
        async.each(self.dispatcher.tree.getCollections(), function (col, callback) {
          if (col.noReplay) {
            return callback(null);
          }
          col.repository.clear(callback);
        }, callback);
      },
      function (callback) {
        self.store.clear(callback);
      }
    ], callback);
  }
function ( callback ) { var self = this ; async . parallel ( [ function ( callback ) { async . each ( self . dispatcher . tree . getCollections ( ) , function ( col , callback ) { if ( col . noReplay ) { return callback ( null ) ; } col . repository . clear ( callback ) ; } , callback ) ; } , function ( callback ) { self . store . clear ( callback ) ; } ] , callback ) ; }
Clears all collections and the revisionGuardStore.
@param {Function} callback The function, that will be called when this action is completed.
`function(err){}`
Clears all collections and the revisionGuardStore .