attachSyncRegistryStreams
attachSyncRegistryStreams<
TRegistry>(registry,streams):TRegistry
Defined in: packages/contracts/src/registry.ts:1498
Stamp the registry’s registered Event streams (ADR-0053 decision 1) onto the registry value as a
non-enumerable symbol — the Event-lane twin of attachSyncRegistryRowClasses. An absent declaration
attaches nothing (the bare-registry-map overload, and any definition that registers no Event stream), so
getSyncRegistryStreams reads back undefined and the registry simply has no Event lane.
Non-enumerable is load-bearing beyond tidiness: canonicalizeRegistry walks the registry’s own enumerable
keys, so riding a symbol is what keeps Event streams OUT of the persisted fingerprint.
Type Parameters
Section titled “Type Parameters”TRegistry
Section titled “TRegistry”TRegistry extends SyncTableRegistry
Parameters
Section titled “Parameters”registry
Section titled “registry”TRegistry
streams
Section titled “streams”EventStreamRegistry | undefined
Returns
Section titled “Returns”TRegistry