Μετάβαση στο περιεχόμενο

RetryPolicyOptions

Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.

Defined in: packages/pipeline-resilience/src/interfaces/resilience-options.interface.ts:52

Retry configuration of a named policy: re-runs the call on a handled failure.

optional backoff?: RetryBackoff

Defined in: packages/pipeline-resilience/src/interfaces/resilience-options.interface.ts:61

Delay strategy between attempts. Defaults to no delay.


maxAttempts: number

Defined in: packages/pipeline-resilience/src/interfaces/resilience-options.interface.ts:58

Maximum number of retry attempts after the initial call (e.g. 3 allows the original execution plus up to three retries), matching Cockatiel’s retry(..., { maxAttempts }) semantics.