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

    Function putKeyValue

    • Writes one string value to a KV bucket.

      Parameters

      • nats: NatsService

        Connected service from connect.

      • bucket: string

        KV bucket name, e.g. avenabox.

      • key: string

        Key to write.

      • newValue: string

        Value to store.

      Returns Promise<void>

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