CAP Node.js API / cap-nest/src / CapSubscribeOptions
Defined in: cap-nest/src/cap/decorators/cap-subscribe.decorator.ts:20
Options recognized by @CapSubscribe.
topic - logical topic / exchange / subject.group - queue / consumer-group name. Omit if you want a
broadcast queue that every subscriber receives.filter - optional user-defined predicate that can short-circuit
delivery before your handler executes.T = unknown
optionaldto?: () =>T
Defined in: cap-nest/src/cap/decorators/cap-subscribe.decorator.ts:23
T
optionalfilter?: (payload) =>boolean|Promise<boolean>
Defined in: cap-nest/src/cap/decorators/cap-subscribe.decorator.ts:24
T
boolean | Promise<boolean>
optionalgroup?:string
Defined in: cap-nest/src/cap/decorators/cap-subscribe.decorator.ts:22
topic:
string
Defined in: cap-nest/src/cap/decorators/cap-subscribe.decorator.ts:21