Type Alias RealtimeReconciliationTrigger<TFeature>Experimental

RealtimeReconciliationTrigger<TFeature>: {
    event: RealtimeFeatureEvent<TFeature>;
    kind: "event";
} | {
    detail?: string;
    kind: "reset";
    reason: RealtimeReconciliationResetReasonCode;
}

What drove one (previous, next) transition: an accepted RealtimeFeatureEvent (the common case — snapshot/upsert/delete/delta/heartbeat/status/error), or an explicit reset the caller derived from outside the event stream (a schema-version-changed / source-version-changed / authorization-scope-changed checkpoint incompatibility from resumable.ts's evaluateRealtimeCheckpoint, or a caller-initiated manual reset).

Type Parameters

  • TFeature = unknown