|
|
@@ -80,6 +80,8 @@ proto.coalesce = function coalesce(nextSource) {
|
|
|
};
|
|
|
|
|
|
proto.getNext = function getNext(callback) {
|
|
|
+ if (!callback) throw new Error(this.getSourceName() + ' #getNext() requires callback');
|
|
|
+
|
|
|
var self = this;
|
|
|
async.series([
|
|
|
function(next) {
|
|
|
@@ -264,5 +266,3 @@ klass.createFromJson = function createFromJson(jsonElement, ctx) {
|
|
|
if (sortKeys <= 0) throw new Error("code 15976; " + klass.sortName + " must have at least one sort key");
|
|
|
return nextSort;
|
|
|
};
|
|
|
-
|
|
|
-// makeSortOptions
|