usher
Version:
Simple DSL for composing decision workflows for AWS Simple Workflow
25 lines (16 loc) • 338 B
JavaScript
/*!
* Usher
* Copyright(c) 2014 meltmedia <mike@meltmedia.com>
*/
;
module.exports = Task;
function Task(name, deps) {
if (!(this instanceof Task)) {
return new Task(name, deps);
}
this.name = name;
this.deps = deps || [];
}
Task.prototype.execute = function execute() { // ctx, done
// Do Nothing
};