@rudderstack/workflow-engine
Version:
A generic workflow execution engine
14 lines • 694 B
TypeScript
import { StepExecutor, WorkflowEngine, WorkflowExecutor, WorkflowOutput } from '../common';
export declare class DefaultWorkflowEngine implements WorkflowEngine {
private readonly name;
private readonly bindings;
private readonly stepExecutors;
private readonly executor;
constructor(name: string, executor: WorkflowExecutor, bindings: Record<string, any>, stepExecutors: StepExecutor[]);
getName(): string;
getBindings(): Record<string, any>;
getStepExecutors(): StepExecutor[];
getStepExecutor(stepName: string): StepExecutor;
execute(input: any, executionBindings?: Record<string, any>): Promise<WorkflowOutput>;
}
//# sourceMappingURL=engine.d.ts.map