Stone.js API
    Preparing search index...

    Type Alias ReducerCallback<T, R, Args>

    ReducerCallback: (
        previousPipeExecutor: PipeExecutor<T, R>,
        currentPipe: MetaPipe<T, R, Args>,
    ) => PipeExecutor<T, R>

    Reducer callback function type used to build a sequence of pipe executions.

    Type Parameters

    • T = unknown

      The type of the passable object.

    • R = T

      The type of the return value from the pipeline execution, defaulting to T.

    • Args extends any[] = any[]

    Type Declaration