sigmavirus24 / rush

Modular, way of implementing rate-limiting in python with a few handy default implementations

Home Page:https://rush.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature] Decorators

judahrand opened this issue · comments

Would there be interest in a decorator Class (perhaps ThrottleDecorator) which would allow a user to directly limit calls to a function? I'm thinking something similar to this. Shouldn't be too hard to implement and I think that it would make this project useful to a much wider range of users.