8.0.0 • Published 1 year ago

n-eager-fetch v8.0.0

Weekly downloads
1,314
License
-
Repository
-
Last release
1 year 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

8.0.0

1 year ago

7.2.0

1 year ago

7.1.1

2 years ago

7.1.0

2 years ago

7.0.0

2 years ago

6.0.1

2 years ago

6.0.2

2 years ago

6.0.0

3 years ago

5.1.0

3 years ago

5.0.0

3 years ago

4.0.1

4 years ago

4.0.0

5 years ago

3.0.0

5 years ago

2.2.1

8 years ago

2.2.0

8 years ago

2.1.3

8 years ago

2.1.0

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.0

10 years ago