lib/domain/bases/commandHandlerBase.js
function(aggregate, vm, callback) {
                vm.set(aggregate.toJSON());
                self.commit(vm, function(err) {
                    callback(err, aggregate, cmd);
                });
            }
function(aggregate, vm, callback) {
                vm.set(aggregate.toJSON());
                self.commit(vm, function(err) {
                    callback(err, aggregate, cmd);
                });
            }
function ( aggregate , vm , callback ) { vm . set ( aggregate . toJSON ( ) ) ; self . commit ( vm , function ( err ) { callback ( err , aggregate , cmd ) ; } ) ; }
commit the new events
commit the new events