예제 #1
0
 public static Task Until <TException1, TException2>(Action action, TimeSpan timeToWait)
     where TException1 : Exception
     where TException2 : Exception
 {
     return(Poll.UntilNoExceptions <TException1, TException2>(action, timeToWait));
 }
예제 #2
0
 public static Task Until(Action action, TimeSpan timeToWait, params Type[] exceptionsToIgnore)
 {
     return(Poll.UntilNoExceptions(action, timeToWait, exceptionsToIgnore));
 }
예제 #3
0
 public static Task <TResult> Until <TException1, TException2, TResult>(Func <TResult> func, TimeSpan timeToWait)
     where TException1 : Exception
     where TException2 : Exception
 {
     return(Poll.UntilNoExceptions <TException1, TException2, TResult>(func, timeToWait));
 }
예제 #4
0
 public static Task <TResult> Until <TResult>(Func <TResult> func, TimeSpan timeToWait, params Type[] exceptionsToIgnore)
 {
     return(Poll.UntilNoExceptions <TResult>(func, timeToWait, exceptionsToIgnore));
 }