Closed rkoshak closed 3 years ago
This PR is ready for review
I've basically completely rewritten this so am closing this PR. When reviewing submissions to the helper library becomes a priority I'll resubmit. In the mean time I'll keep in in my own repo where I can continue development.
This is an implementation of non-blocking rate limiting implementation. When you call "run" it will ignore any calls to it that take place before the latch time expires.
I chose a Class in this case because a user may need more than one limiter going at any given time.
NOTE: I had to rename everything as I'm clearly tired.
Signed-off-by: Rich Koshak rlkoshak@gmail.com