Home > @idealeap/pipeline > Pipeline > (constructor)
Pipeline.(constructor)
Constructs a new Pipeline instance.
Signature:
typescript
constructor(pipes: Pipe<any, any>[], options?: PipelineOptions);constructor(pipes: Pipe<any, any>[], options?: PipelineOptions);Parameters
| Parameter | Type | Description |
|---|---|---|
| pipes | Pipe<any, any>[] | An array of pipes to be executed by the pipeline. |
| options | PipelineOptions | (Optional) Optional settings for the pipeline's behavior. |