Skip to content

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 ​

ParameterType
patternstring
optionsChanxTopicOptions

Returns ​

ClassDecorator

MIT licensed