API reference / @chanx-js/nestjs / ChanxTopic
Function: ChanxTopic()
ts
function ChanxTopic(pattern, options?): ClassDecorator;Defined in: packages/nestjs/src/decorators.ts:62
A chanx topic as an injectable gateway, mounted through a consumer's topics.
Parameters
| Parameter | Type |
|---|---|
pattern | string |
options | ChanxTopicOptions |
Returns
ClassDecorator