etcd3 API - v2.0.0
    Preparing search index...

    Interface IWatchResponse

    interface IWatchResponse {
        cancel_reason: string;
        canceled: boolean;
        compact_revision: string;
        created: boolean;
        events: IEvent[];
        fragment: boolean;
        header: IResponseHeader;
        watch_id: string;
    }
    Index
    cancel_reason: string

    cancel_reason indicates the reason for canceling the watcher.

    canceled: boolean

    canceled is set to true if the response is for a cancel watch request or if the start_revision has already been compacted. No further events will be sent to the canceled watcher.

    compact_revision: string

    compact_revision is set to the minimum index if a watcher tries to watch at a compacted index.

    This happens when creating a watcher at a compacted revision or the watcher cannot catch up with the progress of the key-value store.

    The client should treat the watcher as canceled and should not try to create any watcher with the same start_revision again.

    created: boolean

    created is set to true if the response is for a create watch request. The client should record the watch_id and expect to receive events for the created watcher from the same stream. All events sent to the created watcher will attach with the same watch_id.

    events: IEvent[]
    fragment: boolean

    framgment is true if large watch response was split over multiple responses.

    watch_id: string

    watch_id is the ID of the watcher that corresponds to the response.