Delegate IRetryPolicy.RetriedOperation<T>
Delegate to define the operation that might be retried.
Namespace: Unity.Cloud.Common
Syntax
public delegate Task<T> RetriedOperation<T>(CancellationToken cancellationToken);
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | Use this token to handle cancellation. |
Returns
Type | Description |
---|---|
Task<T> |
Type Parameters
Name | Description |
---|---|
T |