Expand description
Board-agnostic refresh coordination (REQ-17/REQ-18): concurrent refreshes
of the same target share one fetch, a repeated refresh within the
cooldown is refused and reported (never silently served from cache), and
refreshedAt only ever increases for a target. A board picks its own
target keys, such as item:42 or scope.
Structs§
- Refresher
- One board’s refresh coordinator. A target is a string key; every target coalesces and throttles independently of every other target.
Functions§
- cooldown_
remaining Noneoncenowis at leastcooldownseconds pastlast; otherwise the whole remaining seconds, always at least one.- monotonic
- Strictly greater than
previouswhenever one exists, even if the clock has not advanced or has gone backward.