Stone.js API
    Preparing search index...

    Type Alias PipeExecutor<T, R>

    PipeExecutor: (passable: T) => Promiseable<R>

    Pipe Executor function type.

    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.

    Type Declaration

      • (passable: T): Promiseable<R>
      • Parameters

        • passable: T

          The passable objects being sent through the pipeline.

        Returns Promiseable<R>

        The result of the execution, which could be a synchronous or asynchronous response.