|
Resilient
|
State to allow to retry a fixed number of times. More...
#include <retries.hpp>
Public Types | |
| using | stopretries_type = NoMoreRetriesLeft |
Public Member Functions | |
| Retries (unsigned int numberOfRetries) | |
| Construct a new Retry Times object which retries a fixed number of times. More... | |
| Variant< retry_after, stopretries_type > | shouldRetry () |
| template<typename T > | |
| void | failedWith (T) |
State to allow to retry a fixed number of times.
Failures returned by the executed function are ignored.
RetryState concept.
|
inline |
Construct a new Retry Times object which retries a fixed number of times.
| numberOfRetries | The number of retries |
1.8.11