nexus-agents - v2.80.0
    Preparing search index...

    Interface IWorkflowEngine

    Workflow engine interface.

    interface IWorkflowEngine {
        loadTemplate(
            path: string,
        ): Promise<Result<WorkflowDefinition, ParseError>>;
        execute(
            workflow: WorkflowDefinition,
            inputs: Record<string, unknown>,
        ): Promise<Result<WorkflowResult, WorkflowError>>;
        getStatus(executionId: string): ExecutionStatus;
        cancel(executionId: string): Promise<Result<void, WorkflowError>>;
        listTemplates(): Promise<WorkflowTemplate[]>;
        getTemplateByName(name: string): Promise<WorkflowDefinition | undefined>;
    }
    Index

    Methods