Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

nodeIdentityKeys

Source

Enumerate Node identity keys in priority order. The first match wins during cluster lookup. Caller should also bind *every* key to the resulting cluster after a match so subsequent observations collapse correctly even if they only carry a weaker key.

nodeIdentityKeys(identity: Identity | undefined): IdentityKey[]

Parameters

Parameter Type Description Default
identity Identity | undefined No additional description.

Returns

IdentityKey[]

libs/@shumoku/core/src/observation/identity.ts:33