Skip to main content

Module tracker

Module tracker 

Source
Expand description

Per-task budget state tracking.

Tracks in-memory budget state derived from durable WAL events. The tracker is the authoritative in-memory view of consumption against allocations. The dispatch loop consults the tracker to gate dispatch and determine when to signal suspension.

Structs§

BudgetState
In-memory state for one (task, dimension) budget entry.
BudgetTracker
In-memory per-task budget tracker.

Enums§

ConsumeResult
Result of a consume operation.