Команды / CommandRequestOpts
Interface: CommandRequestOpts
Options for sending a command request.
Extends
Partial<Pick<ConnectionOpts,"requestTimeoutMs"|"signal">>
Extended by
Properties
requestTimeoutMs?
optionalrequestTimeoutMs?:number
Timeout for requests to the API in milliseconds.
Default
ts
60_000 // 60 secondsInherited from
Partial.requestTimeoutMs
signal?
optionalsignal?:AbortSignal
An optional AbortSignal that can be used to cancel the in-flight request. When the signal is aborted, the underlying fetch is aborted and the returned promise rejects with an AbortError.
Inherited from
Partial.signal