FGRibreau / FGRibreau/node-request-retry

[improvement] allow retryStrategy to be async

Open
#107 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
346
Forks
73
PR merge metrics
No merged PRs in 30d

Description

If the function for retryStrategy is an async function the request will continue to retry even when the request has been successfully executed.

I'm trying to update the proxy settings on retry and I need to pull a new proxy from an API within the retryStrategy function.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.