@creejs/commons-retrier 2.1.8 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Commons-retrier Library provides a Retrier to:
|
|
|
12
12
|
|
|
13
13
|
- **Intervals**
|
|
14
14
|
|
|
15
|
-
After a retrying, what delay should we
|
|
15
|
+
After a retrying, what delay should we wait for?
|
|
16
16
|
|
|
17
17
|
- **Minimum Interval**
|
|
18
18
|
- **Maximum Interval**
|
|
@@ -21,6 +21,9 @@ Commons-retrier Library provides a Retrier to:
|
|
|
21
21
|
- **Fixed Increase Policy**
|
|
22
22
|
- **Factor Increase Policy**
|
|
23
23
|
- **Shuttle Policy**
|
|
24
|
+
- **Exponential Backoff with Jitter**
|
|
25
|
+
- **Fixed Backoff with Jitter**
|
|
26
|
+
- **Linear Backoff with Jitter**
|
|
24
27
|
|
|
25
28
|
- **Timeout**
|
|
26
29
|
|
|
@@ -82,7 +85,7 @@ npm intall @creejs/commons-retrier
|
|
|
82
85
|
|
|
83
86
|
2. always(task)
|
|
84
87
|
|
|
85
|
-
```
|
|
88
|
+
```javascript
|
|
86
89
|
|
|
87
90
|
const { Retrier } = require('@creejs/commons-retrier')
|
|
88
91
|
|