Configure requests with custom retry settings. Can be used directly in object literals with spread syntax.
Number of retry attempts (0 to disable retries)
Partial request options with the specified retry count
const reqOptions = { ...withRetries(5), timeoutInSeconds: 30};await client.actions.list({}, reqOptions); Copy
const reqOptions = { ...withRetries(5), timeoutInSeconds: 30};await client.actions.list({}, reqOptions);
Configure requests with custom retry settings. Can be used directly in object literals with spread syntax.