MCPcopy Create free account
hub / github.com/3rdparty/libprocess / RateLimiter

Method RateLimiter

include/process/limiter.hpp:160–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158
159
160inline RateLimiter::RateLimiter(int permits, const Duration& duration)
161{
162 process = new RateLimiterProcess(permits, duration);
163 spawn(process);
164}
165
166
167inline RateLimiter::RateLimiter(double permitsPerSecond)

Callers

nothing calls this directly

Calls 1

spawnFunction · 0.70

Tested by

no test coverage detected