Skip to content

buildOverlayResolutionBarrier

buildOverlayResolutionBarrier<TTable>(entry, options): string

Defined in: packages/contracts/src/convergence-model.ts:27

The Convergence barrier predicate (ADR-0010): an acked create/update is resolved only once the synced echo’s Server version has reached the write’s acked version. Emitted identically by the reconcile trigger (schema.ts), reconcileTable (mutation.ts), and the per-table sync-state view (decision 4) — one rule, three consumers, no drift (ADR-0004).

syncedAlias is the synced-side reference (a table alias, or NEW inside the trigger); journalAlias qualifies the journal’s server_updated_at_us (omit it where the journal is the unaliased target of the DELETE).

TTable extends AnyPgTable

SyncTableEntry<TTable>

string

string

string