public static Task Until <TException1, TException2>(Action action, TimeSpan timeToWait) where TException1 : Exception where TException2 : Exception { return(Poll.UntilNoExceptions <TException1, TException2>(action, timeToWait)); }
public static Task Until(Action action, TimeSpan timeToWait, params Type[] exceptionsToIgnore) { return(Poll.UntilNoExceptions(action, timeToWait, exceptionsToIgnore)); }
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)); }
public static Task <TResult> Until <TResult>(Func <TResult> func, TimeSpan timeToWait, params Type[] exceptionsToIgnore) { return(Poll.UntilNoExceptions <TResult>(func, timeToWait, exceptionsToIgnore)); }