Beispiel #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));
 }
Beispiel #2
0
 public static Task Until(Action action, TimeSpan timeToWait, params Type[] exceptionsToIgnore)
 {
     return(Poll.UntilNoExceptions(action, timeToWait, exceptionsToIgnore));
 }
Beispiel #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));
 }
Beispiel #4
0
 public static Task <TResult> Until <TResult>(Func <TResult> func, TimeSpan timeToWait, params Type[] exceptionsToIgnore)
 {
     return(Poll.UntilNoExceptions <TResult>(func, timeToWait, exceptionsToIgnore));
 }