Comparing version
@@ -127,3 +127,7 @@ var util = require('util'); | ||
return self._commandQueue.empty().then(function() { | ||
return self.getUncommittedEvents(); | ||
if (self._commandQueue.isProcessing()) { | ||
return self.getUncommittedEventsAsync(); | ||
} else { | ||
return self.getUncommittedEvents(); | ||
} | ||
}) | ||
@@ -130,0 +134,0 @@ } |
{ | ||
"name": "demeine", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "DDDD - Distributed Domain Driven Design", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
26758
0.44%696
0.58%