KeyConsumer
Callable
Parameters
key: string
Current KeyValueStore key being processed.
index: number
Position of the current key in KeyValueStore.
info: { size: number }
Information about the current KeyValueStore entry.
size: number
Size of the value associated with the current key in bytes.
Returns Awaitable<void>
User-function used in the KeyValueStore.forEachKey method.