![]() |
LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
|
#include "throttle.h"
Public Member Functions | |
Throttle (std::chrono::milliseconds, Qt::TimerType=Qt::TimerType::CoarseTimer) | |
std::chrono::milliseconds | GetInterval () const |
void | Backoff () |
bool | await_ready () |
void | await_suspend (std::coroutine_handle<>) |
void | await_resume () const |
Definition at line 20 of file throttle.h.
|
explicit |
Definition at line 14 of file throttle.cpp.
bool LC::Util::Throttle::await_ready | ( | ) |
Definition at line 41 of file throttle.cpp.
void LC::Util::Throttle::await_resume | ( | ) | const |
Definition at line 57 of file throttle.cpp.
void LC::Util::Throttle::await_suspend | ( | std::coroutine_handle<> | handle | ) |
Definition at line 49 of file throttle.cpp.
void LC::Util::Throttle::Backoff | ( | ) |
Definition at line 36 of file throttle.cpp.
std::chrono::milliseconds LC::Util::Throttle::GetInterval | ( | ) | const |
Definition at line 31 of file throttle.cpp.