Albert
|
#include <albert/networkutil.h>
Blocks execution.
Public Member Functions | |
RateLimiter (unsigned int ms) | |
~RateLimiter () | |
const bool & | debounce (const bool &valid) |
Blocks until the next request is allowed. | |
albert::detail::RateLimiter::RateLimiter | ( | unsigned int | ms | ) |
albert::detail::RateLimiter::~RateLimiter | ( | ) |
const bool & albert::detail::RateLimiter::debounce | ( | const bool & | valid | ) |
Blocks until the next request is allowed.
If valid
is false, it returns immediately.