public static Do ( int times, TimeSpan>.Func |
||
times | int | Maximum times to retry |
retryDelay | TimeSpan>.Func | Func that returns time between each retry. First parameter is number of tries before. |
act | Func |
Async Func with action and which returns false if retry required. Throw exception if action fail and can not be retried. |
return | Task |