Function: parseRoutedSubject()
parseRoutedSubject(
subject):ParsedRoutedSubject|undefined
Defined in: packages/contracts/src/subjects.ts:163
Parses a request or event subject or registry key.
Tokens may be WILDCARD in the tenant position, and in the module
position of an event key (any producing module). Nothing else may be a
wildcard, and > is never accepted.
Parameters
subject
string
A concrete subject or a registry key.
Returns
ParsedRoutedSubject | undefined
The parts, or undefined if the string is not a well-formed routed subject.