7.2.0 • Published 4 months ago

n-eager-fetch v7.2.0

Weekly downloads
1,314
License
-
Repository
-
Last release
4 months ago

n-eager-fetch

Extension of fetch which supports passing a retry value in to options. retry should be an integer, n, and a fetch will be retried n times (i.e. n + 1 fetches in total) before failing.

Supports an allowedStatusCodes value in options. This is an array of integers of status codes that if responded with, won't attempt to retry.

Fetches also have a stopRetrying() method which will fulfil the promise with the reult of the current in-flight fetch and not send any more requests

7.2.0

4 months ago

7.1.1

5 months ago

7.1.0

10 months ago

7.0.0

1 year ago

6.0.1

1 year ago

6.0.2

1 year ago

6.0.0

2 years ago

5.1.0

2 years ago

5.0.0

2 years ago

4.0.1

3 years ago

4.0.0

4 years ago

3.0.0

4 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.3

7 years ago

2.1.0

8 years ago

2.0.1

8 years ago

2.0.0

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.0

9 years ago