Skip to main content
Version: Next

externalKeyConsumer

User-function used in the KeyValueStore.forEachKey method.

Callable

  • KeyConsumer(key: string, index: number, info: { size: number }): Awaitable<void>

  • Parameters

    • externalkey: string

      Current KeyValueStore key being processed.

    • externalindex: number

      Position of the current key in KeyValueStore.

    • externalinfo: { size: number }

      Information about the current KeyValueStore entry.

      • externalsize: number

        Size of the value associated with the current key in bytes.

    Returns Awaitable<void>