prorm API Reference
    Preparing search index...

    Interface EtcdWatchEvent

    A single watch change event, as delivered to watch()/watchPrefix() handlers.

    interface EtcdWatchEvent {
        type: "delete" | "put";
        key: string;
        value: string | null;
        previousValue: string | null;
    }
    Index
    type: "delete" | "put"
    key: string
    value: string | null

    The new value for put events; null for delete events.

    previousValue: string | null

    The value before this change, if withPreviousKV was requested (it is, by default).