-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi, thank you for project!
What about adding:
def capacity(self) -> int:
"""Return capacity remaining in the limiter
"""
self._leak()
return self._level
?
I am still thinking, but feels like it can be needed in case you want to know how many new requests you can pick up, for example from database.
Metadata
Metadata
Assignees
Labels
No labels