itd-api / FileContext
Interface: FileContext
Defined in: core/attachments.ts:22
Что доступно источнику при открытии файла.
Properties
attempt
ts
attempt: number;Defined in: core/attachments.ts:28
Номер попытки отправки, начиная с 1.
fetch
ts
fetch: {
(input, init?): Promise<Response>;
(input, init?): Promise<Response>;
};Defined in: core/attachments.ts:26
fetch клиента — с переданными пользователем настройками.
Call Signature
ts
(input, init?): Promise<Response>;Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
Call Signature
ts
(input, init?): Promise<Response>;Parameters
input
string | URL | Request
init?
RequestInit
Returns
Promise<Response>
signal?
ts
optional signal?: AbortSignal;Defined in: core/attachments.ts:24
Общая отмена текущей попытки, включая её таймаут.