UNPKG

kist

Version:

Package Pipeline Processor

23 lines (22 loc) 827 B
import { Action } from "../../core/pipeline/Action"; import { ActionOptionsType } from "../../types/ActionOptionsType"; /** * RunScriptAction executes an external JavaScript file as part of a KIST pipeline. * The script is executed in a separate process to avoid blocking the main application. */ export declare class RunScriptAction extends Action { /** * Executes the external script file. * * @param options - The options specifying the script file to execute. * @returns A Promise that resolves when the script execution completes. * @throws {Error} If the script execution fails. */ execute(options: ActionOptionsType): Promise<void>; /** * Provides a description of the action. * * @returns A string description of the action. */ describe(): string; }