Delegate IRetryPolicy.ShouldRetryResultChecker<T>
Use this delegate to define which results trigger a retry. It should NOT throw any exception.
Namespace: Unity.Cloud.Common
Syntax
public delegate Task<bool> ShouldRetryResultChecker<T>(T result);
Parameters
| Type | Name | Description |
|---|---|---|
| T | result | Use this result to decide whether a retry is needed. |
Returns
| Type | Description |
|---|---|
| Task<Boolean> | Whether the operation should be retried. |
Type Parameters
| Name | Description |
|---|---|
| T |