Skip to main content

Interface: RequestControlOptions

Per-call transport controls, mixed into every generated .api.* input so a single request can carry a cancellation signal and override the instance timeout/retry settings. Stripped from the wire payload before sending.

Properties​

retries?​

optional retries?: number

Override the instance retries for this call.


retryDelay?​

optional retryDelay?: number

Override the instance retryDelay (ms) for this call.


signal?​

optional signal?: AbortSignal

Abort the request (and any pending retry backoff) when this signal fires.


timeout?​

optional timeout?: number

Override the instance timeout (ms) for this call.