lib/defaultCommandHandler.js
function (aggregate, streams, clb) {
        debug('handle command');
        self.letHandleCommandByAggregate(aggregate, cmd, function (err) { // err is a business rule error
          if (err) {
            return clb(err);
          }
          clb(null, aggregate, streams);
        });
      }
function (aggregate, streams, clb) {
        debug('handle command');
        self.letHandleCommandByAggregate(aggregate, cmd, function (err) { // err is a business rule error
          if (err) {
            return clb(err);
          }
          clb(null, aggregate, streams);
        });
      }
function ( aggregate , streams , clb ) { debug ( 'handle command' ) ; self . letHandleCommandByAggregate ( aggregate , cmd , function ( err ) { // err is a business rule error if ( err ) { return clb ( err ) ; } clb ( null , aggregate , streams ) ; } ) ; }
handle command and check business rules
handle command and check business rules