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