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.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”backoff?
Section titled “backoff?”
optionalbackoff?:RetryBackoff
Defined in: packages/pipeline-resilience/src/interfaces/resilience-options.interface.ts:61
Delay strategy between attempts. Defaults to no delay.
maxAttempts
Section titled “maxAttempts”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.