UNPKG

@nestjstools/messaging

Version:

Simplifies asynchronous and synchronous message handling with support for buses, handlers, channels, and consumers. Build scalable, decoupled applications with ease and reliability.

8 lines (7 loc) 286 B
import { IMessageHandler } from './i-message.handler'; export declare class MessageHandlerRegistry { private registry; register(names: string[], handler: IMessageHandler<any>): void; private registerSingle; getByRoutingKey(routingKey: string): IMessageHandler<any>[]; }