@plust/datasleuth - v0.2.0
    Preparing search index...

    Interface ResearchStep

    Represents a pipeline step

    interface ResearchStep {
        name: string;
        execute: (state: ResearchState) => Promise<ResearchState>;
        rollback?: (state: ResearchState) => Promise<ResearchState>;
        options?: StepOptions;
        retryable?: boolean;
        optional?: boolean;
    }
    Index

    Properties

    name: string
    execute: (state: ResearchState) => Promise<ResearchState>
    rollback?: (state: ResearchState) => Promise<ResearchState>
    options?: StepOptions
    retryable?: boolean

    Whether this step can be retried on failure

    optional?: boolean

    Whether this step can be skipped without breaking the pipeline