RetryPolicy Type
Retry policy for resilient execution (shared across Lifecycle and Observability layers)
Union cases
| Union case |
Description
|
Full Usage:
Custom(shouldRetry, getDelay)
Parameters:
int -> exn -> bool
getDelay : int -> int
|
Custom retry logic
|
Full Usage:
ExponentialBackoff(maxRetries, initialDelayMs, maxDelayMs)
Parameters:
int
initialDelayMs : int
maxDelayMs : int
|
Exponential backoff
|
Full Usage:
Fixed(maxRetries, delayMs)
Parameters:
int
delayMs : int
|
Fixed delay between retries
|
Full Usage:
None
|
No retries |
Instance members
| Instance member |
Description
|
Full Usage:
this.IsCustom
Returns: bool
|
|
Full Usage:
this.IsExponentialBackoff
Returns: bool
|
|
Full Usage:
this.IsFixed
Returns: bool
|
|
Full Usage:
this.IsNone
Returns: bool
|
|
Nao