add missing comment for refreshMany

This commit is contained in:
Hazelnoot 2025-11-12 00:44:03 -05:00
parent 616025198a
commit 0ab203f790

View file

@ -550,6 +550,11 @@ export class QuantumKVCache<TIn, T extends Value<TIn> = Value<TIn>> implements I
return value; 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 @bindThis
public async refreshMany(keys: Iterable<string>): Promise<KVPArray<T>> { public async refreshMany(keys: Iterable<string>): Promise<KVPArray<T>> {
this.throwIfDisposed(); this.throwIfDisposed();