What a consume charged: wait delay before going on; remaining
tokens are left of limit (below zero for queued reservations), and
the key is back to full after reset_after. A whole remaining is
an int whatever the store computed it with, as Effect's stores all
give the same JavaScript number.
Attributes#
| Attribute | Type | Description |
|---|---|---|
delay | Duration | |
limit | float | |
remaining | float | |
reset_after | Duration |
Functions#
__init__#
__init__(delay, limit, remaining, reset_after) -> None| Parameter | Type | Description |
|---|---|---|
delay | Duration | |
limit | float | |
remaining | float | |
reset_after | Duration |