@nats-io/kv
    Preparing search index...

    Type Alias KvWatchOptions

    type KvWatchOptions = {
        headers_only?: boolean;
        ignoreDeletes?: boolean;
        include?: KvWatchInclude;
        key?: string | string[];
        resumeFromRevision?: number;
    }
    Index

    Properties

    headers_only?: boolean

    Notification should only include entry headers

    ignoreDeletes?: boolean

    Skips notifying deletes. @default: false

    include?: KvWatchInclude

    Specify what to include in the watcher, by default all last values.

    key?: string | string[]

    A key or wildcarded key following keys as if they were NATS subject names. Note you can specify multiple keys if running on server 2.10.x or better.

    resumeFromRevision?: number

    Starts watching at the specified revision. This is intended for watchers that have restarted watching and have maintained some state of where they are in the watch.