Connectum API Reference / @connectum/interceptors / TimeoutOptions
Interface: TimeoutOptions ​
Defined in: types.ts:238
Timeout interceptor options
Properties ​
duration? ​
optionalduration?:number
Defined in: types.ts:244
Timeout in milliseconds for waiting on the downstream response. Expiration cancels downstream work cooperatively and returns DeadlineExceeded.
Default ​
ts
30000 (30 seconds)skipStreaming? ​
optionalskipStreaming?:boolean
Defined in: types.ts:252
Skip timeout for streaming calls. If false, the timeout covers opening the response, not its subsequent iteration. Caller cancellation continues to reach the opened stream.
Default ​
ts
true