Avena Webapp API - v0.0.1
    Preparing search index...

    Function getKeys

    • Lists the keys in a KV bucket.

      Parameters

      • nats: NatsService

        Connected service from connect.

      • bucket: string

        KV bucket name, e.g. avenabox.

      • Optionalfilter: string

        Optional key filter with NATS wildcards (*, >). Omit to list every key.

      Returns Promise<string[]>

      The keys, in the order the server lists them.

      If nats is not set, the bucket cannot be opened, or listing fails.