Home > @idealeap/pipeline > Pipe > setRetries
Pipe.setRetries() method
Sets the number of retries for the pipe.
Signature:
typescript
setRetries(retries: number): this;
setRetries(retries: number): this;
Parameters
Parameter | Type | Description |
---|---|---|
retries | number | The number of retries to be assigned. |
Returns:
this
The same pipe instance, to support method chaining.