//! Reservoirs: lumps of work drained into a steady flow.
use Duration;
/// Seconds over which a reservoir drains a lump: the time constant of its exponential outflow.
pub const DRAIN: f64 = 4.0;
/// Turns lumps of work, such as a burst of tokens, into a flow that drains each lump over four
/// seconds. A host converts the flow into an [`Intensity`](crate::Intensity) by its own measure.