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 client identifier.

    • pipelineName: string

      The name of the pipeline to execute.

    • agentName: string

      The name of the agent associated with the pipeline.

    • Optionalpayload: Payload

      Optional payload data for the pipeline.

    Returns Promise<T>

    The result of the pipeline execution.

    startPipeline

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