OptionalafterOptionalfactorThe exponential factor to use.
OptionalmaxThe maximum time (in milliseconds) that the retried operation is allowed to run.
OptionalmaxThe maximum number of milliseconds between two retries.
OptionalmethodsThe methods to retry
OptionalminThe number of milliseconds before starting the first retry.
OptionalrandomizeRandomizes the timeouts by multiplying a factor between 1-2.
OptionalretriesThe maximum amount of times to retry the operation.
OptionalshouldCalled after built-in checks pass, before retrying. Return false to stop retrying.
The context of the retry
OptionalstatusThe HTTP status codes to retry on. Status codes in the range 400-599.
OptionalunrefWhether to unref the setTimeout's.
The status codes to retry after
Request will wait until the date, timeout, or timestamp given in the Retry-After header has passed to retry the request. If Retry-After is missing, the non-standard RateLimit-Reset header is used in its place as a fallback. If the provided status code is not in the list, the Retry-After header will be ignored.