@osaedasia/oresume
Version:
A user-friendly library for generating complete Single Page Applications (SPAs)
16 lines (15 loc) • 644 B
TypeScript
import { IPipelineContext } from "./IPipelineContext";
/**
* Represents a single step in a processing pipeline.
* Each step is responsible for a specific transformation or processing task
* that operates on a shared context object.
* @template T - The type of pipeline context that this step operates on.
*/
export interface IPipelineStep<T extends IPipelineContext> {
/**
* Performs the step's processing operation on the provided context.
* Implementations should modify the context as needed for their specific task.
* @param {T} context - The shared pipeline context object.
*/
execute(context: T): void;
}