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?: string;
    };
}

Hierarchy

  • BaseDocEvent
    • SnapshotEvent

Properties

Properties

source: Remote
type: Snapshot

enum DocEventType.Snapshot

value: {
    serverSeq: string;
    snapshot?: string;
}

Type declaration

  • serverSeq: string
  • Optional snapshot?: string