itd-api / RetryContext
Interface: RetryContext
Defined in: core/options.ts:147
Данные о предстоящем повторе.
Extends
Properties
attempt
ts
attempt: number;Defined in: core/options.ts:128
Номер попытки, начиная с 1.
Inherited from
delay
ts
delay: number;Defined in: core/options.ts:150
Пауза перед следующей попыткой в мс.
error
ts
error: unknown;Defined in: core/options.ts:148
headers
ts
headers: Headers;Defined in: core/options.ts:126
Inherited from
method
ts
method: string;Defined in: core/options.ts:121
Inherited from
operationId
ts
operationId: OperationId;Defined in: core/options.ts:118
Стабильная семантическая операция; raw у низкоуровневого вызова без явного ID.
Inherited from
path
ts
path: string;Defined in: core/options.ts:123
Путь без базового URL, например /api/posts.
Inherited from
signal
ts
signal: AbortSignal | undefined;Defined in: core/options.ts:120
Общий сигнал пользовательской отмены, timeout и освобождения клиента.
Inherited from
url
ts
url: string;Defined in: core/options.ts:125
Итоговый URL со строкой запроса.