Stone.js API
    Preparing search index...

    Interface MetaPipe<T, R, Args>

    Represents a MetaPipe configuration item, with a pipe, parameters, and priority level.

    A configuration object used for managing pipes in the pipeline.

    interface MetaPipe<T = unknown, R = T, Args extends any[] = any[]> {
        isAlias?: boolean;
        isClass?: boolean;
        isFactory?: boolean;
        module: PipeType<T, R, Args>;
        params?: any[];
        priority?: number;
    }

    Type Parameters

    • T = unknown
    • R = T
    • Args extends any[] = any[]
    Index
    isAlias?: boolean

    An optional flag indicating whether the pipe is a container alias.

    isClass?: boolean

    An optional flag indicating whether the pipe is a class.

    isFactory?: boolean

    An optional flag indicating whether the pipe is a factory.

    module: PipeType<T, R, Args>

    The pipe to execute, which can be a function or a string identifier.

    params?: any[]

    An optional array of parameters to pass to the pipe.

    priority?: number

    An optional priority level of the pipe.