Optional ReadonlybulkheadBulkhead layer: true uses the default, a policy overrides.
Optional ReadonlycircuitCircuit breaker layer: true uses the default, a policy overrides.
Optional ReadonlyretryRetry layer: true uses the default, a policy overrides.
Optional ReadonlytimeoutPer-attempt timeout in milliseconds; absent disables the timeout layer.
Options selecting which resilience patterns wrap a protected call.
For
circuitBreaker,retry, andbulkhead,trueuses the plugin's matchingdefault*policy, a policy object overrides per-wrap, and an absent/falsevalue disables that layer.timeoutis a millisecond deadline bounding each attempt.Since
0.1.0