Struct ExponentialBackoff#

Struct Documentation#

struct ExponentialBackoff#

Public Functions

inline ExponentialBackoff(
std::shared_ptr<mrc::coroutines::Scheduler> on,
std::chrono::milliseconds delay_initial,
std::chrono::milliseconds delay_max
)#
inline mrc::coroutines::Task yield()#

Public Members

std::shared_ptr<mrc::coroutines::Scheduler> m_on#
std::chrono::milliseconds m_delay#
std::chrono::milliseconds m_delay_max#