Skip to main content

Function: candidateKeys()

candidateKeys(subject): string[]

Defined in: packages/contracts/src/subjects.ts:199

The registry keys a concrete subject could be registered under, most specific first: the tenant as written, then *; and for an event the module as written, then *.

Parameters​

subject​

string

A concrete subject.

Returns​

string[]

Candidate keys; empty if the subject is not a well-formed routed subject.