@rudderstack/workflow-engine
Version:
A generic workflow execution engine
16 lines • 601 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseCustomStepExecutor = void 0;
const executors_1 = require("../executors");
class BaseCustomStepExecutor extends executors_1.BaseStepExecutor {
constructor(step, executor) {
super(step);
this.executor = executor;
}
async execute(input, executionBindings) {
const output = await this.executor.execute(input, executionBindings, this.step.params);
return { output };
}
}
exports.BaseCustomStepExecutor = BaseCustomStepExecutor;
//# sourceMappingURL=step_executor.js.map