Skip to content

Commit

Permalink
Clarify onRetry in readme retry examples
Browse files Browse the repository at this point in the history
  • Loading branch information
reisenberger authored Feb 28, 2019
1 parent 8d25944 commit 91ad5ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Policy
// with the current exception and retry count
Policy
.Handle<SomeExceptionType>()
.Retry(3, (exception, retryCount) =>
.Retry(3, onRetry: (exception, retryCount) =>
{
// do something
});
Expand All @@ -150,7 +150,7 @@ Policy
// provided to Execute()
Policy
.Handle<SomeExceptionType>()
.Retry(3, (exception, retryCount, context) =>
.Retry(3, onRetry: (exception, retryCount, context) =>
{
// do something
});
Expand All @@ -169,7 +169,7 @@ Policy
// current exception
Policy
.Handle<SomeExceptionType>()
.RetryForever(exception =>
.RetryForever(onRetry: exception =>
{
// do something
});
Expand All @@ -178,7 +178,7 @@ Policy
// current exception and context provided to Execute()
Policy
.Handle<SomeExceptionType>()
.RetryForever((exception, context) =>
.RetryForever(onRetry: (exception, context) =>
{
// do something
});
Expand Down

0 comments on commit 91ad5ef

Please sign in to comment.