From 0ab203f790d8b71577ccc937aeaa73da69143754 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Wed, 12 Nov 2025 00:44:03 -0500 Subject: [PATCH] add missing comment for refreshMany --- packages/backend/src/misc/QuantumKVCache.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/backend/src/misc/QuantumKVCache.ts b/packages/backend/src/misc/QuantumKVCache.ts index b16b5c8aa9..e3cf2645e0 100644 --- a/packages/backend/src/misc/QuantumKVCache.ts +++ b/packages/backend/src/misc/QuantumKVCache.ts @@ -550,6 +550,11 @@ export class QuantumKVCache = Value> implements I return value; } + /** + * Refreshes multiple values from the cache, and erases any stale caches across the cluster. + * Fires an onChanged event after the cache has been updated in all processes. + * Missing / unmapped values are excluded from the response. + */ @bindThis public async refreshMany(keys: Iterable): Promise> { this.throwIfDisposed();