Exemple #1
0
 public static bool ProcessRetries(IRetryable <bool> operation)
 {
     return(DefaultInstance.Process(operation.Attempt, operation.Recover));
 }
 public ProcessRetryer(IRetryable <TReturn> operation)
 {
     RetryableOperation = operation.Attempt;
     RecoveryOperation  = operation.Recover;
 }
Exemple #3
0
 public TaskRetryer(IRetryable <bool> operation)
 {
     RetryableOperation = operation.Attempt;
     RecoveryOperation  = operation.Recover;
 }