Skip to content

Commit

Permalink
Publish v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jerviscui committed Mar 6, 2023
1 parent 2bf1d2b commit d7d4a4c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,18 @@ result.IsSuccess
result.Result
```

### IRetryIntervalStrategy

```csharp
var builder = RetryBuilder.Default.ConfigureOptions(options =>
{
options.RetryInterval = new ConstantRetryInterval(TimeSpan.FromMilliseconds(100));
});

var builder = RetryBuilder.Default.ConfigureOptions(options =>
{
options.RetryInterval =
new ExponentialRetryInterval(TimeSpan.FromMilliseconds(100), TimeSpan.FromSeconds(60));
});
```

2 changes: 1 addition & 1 deletion src/RetryCore/RetryCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<LangVersion>latest</LangVersion>

<Version>0.2.0</Version>
<Version>0.3.0</Version>
<PackageId>$(AssemblyName)</PackageId>
<Description>A library for retrying operations.</Description>
<Authors>jerviscui</Authors>
Expand Down

0 comments on commit d7d4a4c

Please sign in to comment.