autoRetry
ref / auto-retry / autoRetry
Creates an API transformer function that will check failed API requests for a retry
value, and attempt to perform them again after waiting the specified number of seconds.
You can set an option to only retry requests a number of times, or only retry those that to not demand your bot to wait too long.
Parameters
options
ts
options?: Partial<AutoRetryOptions>
Configuration options
Return Type
The created API transformer function