Method RetryWithBackOff
RetryWithBackOff<T>(IObservable<T>, Func<Exception, int, TimeSpan?>)
Declaration
public static IObservable<T> RetryWithBackOff<T>(this IObservable<T> observable, Func<Exception, int, TimeSpan?> strategy)
Parameters
| Type | Name | Description |
|---|---|---|
| IObservable<T> | observable | |
| Func<Exception, int, TimeSpan?> | strategy |
Returns
| Type | Description |
|---|---|
| IObservable<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
RetryWithBackOff<T>(IObservable<T>, TimeSpan)
Declaration
public static IObservable<T> RetryWithBackOff<T>(this IObservable<T> observable, TimeSpan retryTimeout)
Parameters
| Type | Name | Description |
|---|---|---|
| IObservable<T> | observable | |
| TimeSpan | retryTimeout |
Returns
| Type | Description |
|---|---|
| IObservable<T> |
Type Parameters
| Name | Description |
|---|---|
| T |