The swap point for a durable counter. consume atomically records one hit for key under the budget and
reports whether it's now over. A production impl (KV / Durable Object) MUST be atomic-per-key; the in-memory
default is per-instance and NOT durable, so it is dev-only.
The swap point for a durable counter.
consumeatomically records one hit forkeyunder the budget and reports whether it's now over. A production impl (KV / Durable Object) MUST be atomic-per-key; the in-memory default is per-instance and NOT durable, so it is dev-only.