Skip to content

KeyedRegistryOptions

KeyedRegistryOptions<In, Key> = object

Defined in: packages/net-core/src/keyed-registry.ts:4

In

Key

keyOf: (frame) => Key | undefined

Defined in: packages/net-core/src/keyed-registry.ts:12

Extracts the correlation key carried by an inbound frame.

Returning undefined marks the frame as uncorrelated — a server push, a heartbeat, an event notification — so it is surfaced as unsolicited rather than mis-attributed to a waiting request.

In

Key | undefined