Interface SnapshotEvent

SnapshotEvent is an event that occurs when a snapshot is received from the server.

interface SnapshotEvent {
    source: Remote;
    type: Snapshot;
    value: {
        serverSeq: string;
        snapshot: undefined | string;
        snapshotVector: string;
    };
}

Hierarchy

  • BaseDocEvent
    • SnapshotEvent

Properties

Properties

source: Remote
type: Snapshot

enum DocEventType.Snapshot

value: {
    serverSeq: string;
    snapshot: undefined | string;
    snapshotVector: string;
}

Type declaration

  • serverSeq: string
  • snapshot: undefined | string
  • snapshotVector: string