Restate Typescript SDK
    Preparing search index...

    Reconnect backoff policy. Between reconnect attempts the engine waits a jittered exponential delay: it starts at initialInterval, grows by exponentiationFactor per failed attempt, is capped at maxInterval, and resets after a connection stays up long enough to be considered stable. Intervals accept a Duration or a number of milliseconds.

    The field names mirror the invocation and ingress retry policies. Note the tunnel reconnect loop is unbounded — there is no maxAttempts; it redials forever until a connection succeeds or the tunnel is shut down.

    interface ReconnectRetryPolicy {
        exponentiationFactor?: number;
        initialInterval?: number | Duration;
        maxInterval?: number | Duration;
    }
    Index

    Properties

    exponentiationFactor?: number

    Exponentiation factor applied to the delay after each failed attempt. Default 2.

    initialInterval?: number | Duration

    Initial delay. A number is interpreted as milliseconds. Default 10 milliseconds.

    maxInterval?: number | Duration

    Maximum delay. A number is interpreted as milliseconds. Default 120_000 milliseconds.