One budget's counts (made by make).
Attributes#
| Attribute | Type | Description |
|---|---|---|
limits | Limits = limits |
Functions#
__init__#
__init__(limits) -> None| Parameter | Type | Description |
|---|---|---|
limits | Limits |
def __init__(self, limits: Limits) -> None:
self.limits = limits
self._spent = Spent()
self._held = Spent()spent#
spent() -> Effect[Spent]What settled calls have spent.
Returns Effect[Spent]
def spent(self) -> Effect[Spent]:
"""What settled calls have spent."""
return fx.sync(lambda: self._spent)held#
held() -> Effect[Spent]What calls in flight hold reserved.
Returns Effect[Spent]
def held(self) -> Effect[Spent]:
"""What calls in flight hold reserved."""
return fx.sync(lambda: self._held)