Retry policy that allows a fixed number of retries and then preserves the final retry result unchanged.
More...
#include <retry.hpp>
|
| constexpr bool | should_retry (std::size_t retry_count) const noexcept |
| |
|
| template<typename Raw > |
| static constexpr std::remove_cvref_t< Raw > | on_exhausted (Raw &&raw) noexcept |
| |
Retry policy that allows a fixed number of retries and then preserves the final retry result unchanged.
Definition at line 33 of file retry.hpp.
◆ on_exhausted()
template<typename Raw >
| static constexpr std::remove_cvref_t< Raw > yorch::retry_fixed_passthrough_policy::on_exhausted |
( |
Raw && |
raw | ) |
|
|
inlinestaticconstexprnoexcept |
◆ should_retry()
| constexpr bool yorch::retry_fixed_passthrough_policy::should_retry |
( |
std::size_t |
retry_count | ) |
const |
|
inlineconstexprnoexcept |
◆ max_retries
| std::size_t yorch::retry_fixed_passthrough_policy::max_retries = 0 |
The documentation for this struct was generated from the following file: