Function startPipeline

  • Type Parameters

    • Payload extends object = any

      Type extending object for the pipeline payload.

    • T = any

      Type of the result returned by the pipeline execution.

    Parameters

    • clientId: string

      The clientId parameter.

    • pipelineName: string

      The pipelineName parameter.

    • agentName: string

      The agentName parameter.

    • Optionalpayload: Payload

      Payload object containing the data to be processed.

    Returns Promise<T>

    startPipeline Executes a pipeline with the specified name, handling session creation, validation, and lifecycle callbacks.