Class: CdiUtils
A utility class for working with CDIs.
Constructors
constructor
• new CdiUtils(): CdiUtils
Returns
Methods
getEventBusTopicSuffix
▸ getEventBusTopicSuffix<ID
>(id
): ID
extends ""
? ""
: `_${ID}`
Gets the suffix for event bus topics associated with a given CDI index.
Type parameters
Name | Type |
---|---|
ID | extends string |
Parameters
Name | Type | Description |
---|---|---|
id | ID | The index for which to get the suffix. |
Returns
ID
extends ""
? ""
: `_${ID}`
The suffix for event bus topics associated with the specified CDI index.
Defined in
src/sdk/cdi/CdiUtils.ts:12
navSourceIdEquals
▸ navSourceIdEquals(a
, b
): boolean
Checks whether two CDI navigation sources are equal.
Parameters
Name | Type | Description |
---|---|---|
a | Readonly <NavSourceId > | The first source to check. |
b | Readonly <NavSourceId > | The second source to check. |
Returns
boolean
Whether the two specified CDI navigation sources are equal.
Defined in
src/sdk/cdi/CdiUtils.ts:22