Method By
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
By(Func<int, Exception, TimeSpan>)
Waits what compute returns for the number of failures before this one and this
failure's exception.
public static RetryDelayRule By(Func<int, Exception, TimeSpan> compute)
Parameters
computeFunc<int, Exception, TimeSpan>
Returns
Exceptions
- ArgumentNullException
computeis null.