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

    Module nats.svelte

    Connection helpers for central NATS and the KV bucket avenabox.

    The dashboard talks to central NATS over WebSocket only. This module turns the server text a user types (with or without a scheme) into WebSocket URLs, connects with the contents of a .creds file, and wraps the KV calls the pages use to list, read, write and delete LabJack configuration keys.

    Classes

    NatsService

    Variables

    KV_READ_CONCURRENCY

    Functions

    connect
    deleteKey
    getKeys
    getKeyValue
    getKeyValues
    putKeyValue
    updateConfig