askui.retry.Retry
attempt method.
Example:
attempt
func- The function to execute with retry logic
Exception- Any exception that occurs during execution after all retry attempts are exhausted
askui.retry.ConfigurableRetry
on_exception_typesTuple[Type[Exception]] - Tuple of exception types that should trigger a retrystrategyLiteral[“Exponential”, “Fixed”, “Linear”] - The retry strategy to use:"Exponential": Delay increases exponentially between retries"Fixed": Constant delay between retries"Linear": Delay increases linearly between retries
base_delayint, optional - Base delay in milliseconds between retries.retry_countint, optional - Maximum number of retry attempts.