Skip to content

Commit a9918b4

Browse files
committed
Update README.md
1 parent 46ded00 commit a9918b4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ The service creates sequence of the delays (nanoseconds) according to chosen str
66
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FThe-Igor%2Fretry-policy-service%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/The-Igor/retry-policy-service)
77

88
There are two strategies
9-
- constant - constant delay between retries
10-
- exponential - Exponential backoff is a strategy in which you increase the delays between retries
9+
10+
| type | description |
11+
| --- | --- |
12+
| constant | The strategy implements constant backoff |
13+
| exponential [default] | Exponential backoff is a strategy in which you increase the delays between retries |
1114

1215
```swift
1316
/// Constant delay between retries

0 commit comments

Comments
 (0)