Skip to main content

record_spend

Function record_spend 

Source
pub fn record_spend(person: Option<&str>, project: Option<&str>, cost_usd: f64)
Expand description

Records one measured turn’s cost against the budget windows. Called from the metering choke-point; cheap (two hash-map bumps) and never blocking.