Configure requests with custom timeout settings. Can be used directly in object literals with spread syntax.
Timeout in seconds
Partial request options with the specified timeout
const reqOptions = { ...withTimeout(30), maxRetries: 3};await client.actions.list({}, reqOptions); Copy
const reqOptions = { ...withTimeout(30), maxRetries: 3};await client.actions.list({}, reqOptions);
Configure requests with custom timeout settings. Can be used directly in object literals with spread syntax.