GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — RetryConfig | ADK for TypeScript: API Reference - v2.5.0

  • RetryConfig

Interface RetryConfig

Configuration for retrying a node.

Ported from google/adk-python workflow/_retry_config.py. Delays are expressed in seconds (fractions allowed) to match the Python semantics and keep configuration portable across runtimes. Unset fields fall back to the documented defaults inside the retry utilities.

interface RetryConfig {
    backoffFactor?: number;
    exceptions?: (string | ErrorClass)[] | null;
    initialDelay?: number;
    jitter?: number;
    maxAttempts?: number;
    maxDelay?: number;
}
  • Defined in core/src/workflow/retry_config.ts:20

Properties

OptionalbackoffFactor

backoffFactor?: number

Multiplier by which the delay increases after each attempt. If not specified, defaults to 2.0.

  • Defined in core/src/workflow/retry_config.ts:43

Optionalexceptions

exceptions?: (string | ErrorClass)[] | null

Exceptions to retry on. Accepts error class names as strings (e.g. ['TypeError']) or error classes directly (e.g. [TypeError]). undefined/null means retry on all errors.

  • Defined in core/src/workflow/retry_config.ts:56

OptionalinitialDelay

initialDelay?: number

Initial delay before the first retry, in seconds. If not specified, defaults to 1.0 second.

  • Defined in core/src/workflow/retry_config.ts:31

Optionaljitter

jitter?: number

Randomness factor for the delay. If not specified, defaults to 1.0. Use 0.0 to remove randomness.

  • Defined in core/src/workflow/retry_config.ts:49

OptionalmaxAttempts

maxAttempts?: number

Maximum number of attempts, including the original request. If 0 or 1, it means no retries. If not specified, defaults to 5.

  • Defined in core/src/workflow/retry_config.ts:25

OptionalmaxDelay

maxDelay?: number

Maximum delay between retries, in seconds. If not specified, defaults to 60.0 seconds.

  • Defined in core/src/workflow/retry_config.ts:37
Properties
backoffFactorexceptionsinitialDelayjittermaxAttemptsmaxDelay
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.