Contents:
LimitHandler
LimitHandler.current
LimitHandler.limit
LimitHandler.__init__()
LimitHandler.get_limit()
LimitHandler.reached()
LimitHandler.set_limit()
Classes
LimitHandler(current, limit)
A handler for classes that have a limit.
A callable to determine the current value.
The upper limit of the current value.
Get the limit.
Union[float, int]
Union
float
int
The limit.
Check whether the limit has been reached.
bool
Set the limit.
limit (Union[float, int]) – The limit.
None