workflow-4-node
Version:
Workflow 4 Node is a .NET Workflow Foundation like framework for Node.js. The goal is to reach feature equivalence and beyond.
36 lines (28 loc) • 751 B
JavaScript
;
var Activity = require("./activity");
var util = require("util");
var Declarator = require("./declarator");
var errors = require("../common/errors");
function Pick() {
Declarator.call(this);
}
util.inherits(Pick, Declarator);
Object.defineProperties(Pick.prototype, {
collectAll: {
value: false,
writable: false,
enumerable: false
}
});
Pick.prototype.varsDeclared = function (callContext, args) {
if (args && args.length) {
callContext.schedule(args, "_argsGot");
} else {
callContext.complete();
}
};
Pick.prototype._argsGot = function (callContext, reason, result) {
callContext.end(reason, result);
};
module.exports = Pick;
//# sourceMappingURL=pick.js.map