Interface RealtimeSnapshotEvent<TFeature>

interface RealtimeSnapshotEvent<TFeature> {
    checkpoint?: RealtimeResumeCheckpoint;
    cursor?: string;
    deltaToken?: string;
    eventId?: string;
    features: readonly RealtimeFeaturePatch<TFeature>[];
    receivedAt?: number;
    replace?: boolean;
    sequence?: number;
    timestamp?: string;
    type: "snapshot";
    watermark?: string;
}

Type Parameters

  • TFeature = unknown

Hierarchy (view full)

Properties

cursor?: string
deltaToken?: string
eventId?: string
features: readonly RealtimeFeaturePatch<TFeature>[]
receivedAt?: number
replace?: boolean

Replace the current live set.

true
sequence?: number
timestamp?: string
type
watermark?: string